Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Workbench Moderation ships with self-to-self transitions, like draft-to-draft. Users should be able to create this type of transition in the UI, but right now this generates a form error:
Comment | File | Size | Author |
---|---|---|---|
#6 | 2651190-create-self-transition.patch | 3.23 KB | Crell |
#6 | interdiff-2651190.txt | 2.36 KB | Crell |
Screen Shot 2016-01-15 at 4.00.43 PM.png | 47.8 KB | becw |
Comments
Comment #2
Crell CreditAttribution: Crell at Palantir.net for Acquia commentedEasy enough.
Comment #6
Crell CreditAttribution: Crell at Palantir.net for Acquia commentedHa, yeah, there's even a test to ensure the behavior we don't want. :-)
Comment #7
bojanz CreditAttribution: bojanz at Centarro commentedThis is an odd idea which I haven't seen in any other solution. There's no transition here, you're staying in the same place.
What's the backstory?
Comment #8
Crell CreditAttribution: Crell at Palantir.net for Acquia commentedWithout this transition, it is impossible to save an entity in the same state it already is. Making it a separate transition means you can control when someone can edit an entity in the same state or not (eg, can you edit a published node and leave it published? If you configure the permissions to let you.)
That question has come up a couple times now, so we need to better document it. Suggestions welcome on how to do that, although that's separate from this issue which is just fixing an admin bug.
Comment #9
becw CreditAttribution: becw at Palantir.net for Acquia commentedGreat, thanks Crell!