I created 30 roles on a fresh drupal 5.7 install and only 22 of them could be selected for a given transition in workflow. Unchecking some boxes submitting and editing again will allow others to be checked.
Steps to reproduce:
Install drupal 5.7, create roles a1 through z26 and aa27 through ad30.
Install workflow 5.x-2.x-dev and actions 5.x-2.x-dev
Create a new workflow named testing, create two states published and unpublished
Attempt to give permission for all 30 roles you created and author to go from (Creation) -> published
Not all boxes remain checked after submitting.
Tested with Ubuntu Hardy (Linux)
Mysql 5.0.51a
PHP 5.2.4-2ubuntu5.1
and on RHEL5 (Red Hat Linux)
MySQL database 5.0.45
PHP 5.1.6
Screen shots are attached.
Comment | File | Size | Author |
---|---|---|---|
#1 | odd_box_screenshot.png | 9.27 KB | halstead |
Comments
Comment #1
halstead CreditAttribution: halstead commentedHere are the screenshots.
Comment #2
jvandyk CreditAttribution: jvandyk commentedAfter tracing this around, it turns out to be a simple problem: the workflow_transitions field in the database is limited to 40 characters, and MySQL was silently truncating. Alter your table to 255 chars and you'll be fine. I've changed the .install file to update this on existing installations.
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.