Problem/Motivation
Currently, ContentEntitySource creates a new revision only before saving. However, createRevision() assumes that this is done before values are changed, as it for example sets the ->original property to a clone of the current object.
As a result, certain things, like detection of value changes and firing of translation_insert hooks may not fire correctly.
Additionally, it doesn't set revision author and time, resulting in those values to be stale.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Comments
Comment #3
berdir.
Comment #5
berdirMerged.