- Issue created by @berdir
Automatically closed - issue fixed for 2 weeks with no activity.
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.
Active
1.0
Source: Entity
Automatically closed - issue fixed for 2 weeks with no activity.