Problem/Motivation
When content moderation is enabled and the tidy process updates multiple revisions for an entity, not all are saved.
Steps to reproduce
Create a page with an item for tidy to update, save it as 'Published', update the item to create a 'Draft'.
Run tidy on the page twice. (they second run should not have any updates listed)
Proposed resolution
Fix the issue :)
Test steps
Create a new page with an item that tidy will update (for example, create another page and give it a url alias and use that)
<p><a href="/test/page">test</a></p>
Run tidy on the node twice
drush link_magician:tidy nodeid --nodeid={NN}
The second run should not list any updates (and the changes are saved now!)
Issue fork link_magician-3609947
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 #2
jasongose commentedComment #5
jasongose commentedComment #6
cameron prince commentedPatch applies cleanly and testing steps pass. Setting RTBC.
Comment #7
jasongose commentedMerged :)