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.
Problem/Motivation
Currently the order of workflow states and transitions can depend on the order they were added. When managing exported workflow configuration in version control this is annoying, as you can have unnecessary diffs when adding/removing workflow states or transitions.
Proposed resolution
Add deterministic sorting of workflow states and machine names by machine name.
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#10 | 2845114-10.patch | 3.25 KB | tstoeckler |
#10 | 2845114-10-tests-only.patch | 2.5 KB | tstoeckler |
Comments
Comment #2
tstoecklerHere's an initial start.
Comment #3
Sam152 CreditAttribution: Sam152 at PreviousNext commentedAnd a test.
Comment #5
timmillwoodWorks for me!
Comment #6
tstoecklerAdding a quick test for the transitions as well.
Comment #8
timmillwoodComment #10
tstoecklerOops the test change caused some fallout. This should be better.
Comment #12
Sam152 CreditAttribution: Sam152 at PreviousNext commentedInterdiff LGTM.
Comment #14
timmillwoodComment #16
tstoecklerComment #18
timmillwoodComment #20
alexpottCommitted and pushed 9a59b70 to 8.4.x and 4b70997 to 8.3.x. Thanks!