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
Spun off from #2886567: Adding a workflow state or transition with an integer ID results in unrecoverable fatal errors.
Looking at both callers of WorkflowTypeBase:: labelWeightMultisort()
, the method receives an array of objects with a meaningful key, the state or transition or ID, but the docs do not indicate this.
Proposed resolution
Add documentation clarifying what the keys are.
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#10 | 2906879-10.patch | 1005 bytes | Sam152 |
#7 | interdiff-7.txt | 929 bytes | xjm |
#7 | 2906879-7.patch | 1005 bytes | xjm |
#4 | workflow-2906879-4.patch | 1009 bytes | xjm |
Comments
Comment #2
xjmComment #4
xjmEhm, with less syntax error.
Comment #5
xjmComment #6
amateescu CreditAttribution: amateescu for Pfizer, Inc. commentedI think that we only need the extra spaces on the second line only for @todo descriptions, so they can be removed here.
Comment #7
xjmRight you are.
Comment #8
Sam152 CreditAttribution: Sam152 as a volunteer and at PreviousNext commentedComment #10
Sam152 CreditAttribution: Sam152 as a volunteer and at PreviousNext commentedComment #13
catchCommitted/pushed to 8.5.x and cherry-picked to 8.4.x. Thanks!