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.

Command icon 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

gugalamaciek created an issue. See original summary.

gugalamaciek’s picture

Assigned: gugalamaciek » Unassigned
Status: Active » Needs review