Problem/Motivation
Since Drupal 11.2, core has disallowed saving existing default revisions as non-defaults: https://www.drupal.org/node/3543212
This has broken the Entity Moderation Form, but core's content_moderation equivalent has a simple fix: create a new revision on submitting it.
Steps to reproduce
Try to publish a draft version from the Entity Moderation Form shown on the 'Latest version' tab of a node that is handled by workbench moderation.
Proposed resolution
Copy the createRevision() call from the equivalent in content_moderation.
Remaining tasks
Test & review fix, merge.
User interface changes
None
API changes
None
Data model changes
None - as long as you don't mind yet more revisions!
Issue fork workbench_moderation-3631072
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
james.williamsComment #5
larowlanthanks tagging 8.x-1.10