EntityUsageTrackBase::trackOnEntityUpdate() currently detects “new revision” by comparing revision IDs with $source_entity->original.
The proposed change uses isNewRevision() as the primary signal. This is a better and more explicit way to detect revision creation, independent from original state.
Issue fork entity_usage-3582425
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
gugalamaciek commentedComment #4
alexpottDoes this actually cause any issues? Isn't it more of a task?
Comment #6
alexpottGiven this is not fixing a bug I think we can treat this as a task and only fix in 5.x
Comment #7
alexpottComment #8
alexpott