After calling $entity->setNewRevision(TRUE)
we have no way of knowing what revision id the entity used to be.
Considered a blocker for #2640496: Revision ID in {node} and {node_revision} can get out of sync â which is critical.
Set the revision id to an originalRevisionId
property in __construct
Update the originalRevisionId
on post save
Return the property with getOriginalRevisionId()
method
Review
none
Two methods added to ContentEntityBase and ContentEntityInterface
None
(Blocking #2809123: Reverting a revision doesn't keep moderation state â )
Fixed
8.3 â°ď¸
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.