Posted by bluegriff on December 31, 2011 at 12:23am
2 followers
Jump to:
| Project: | Workflow |
| Version: | 6.x-1.5 |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed (maintainer needs more info) |
Issue Summary
Workflow titles longer than 32 chars can be entered into the field, but they are truncated on creation. The 'op' field in the trigger_assignments table is set to varchar(32). When assigning these workflows to content types, they appear to save but they don't actually "stick".
I assume constraining the amount of characters a user can input on the Workflow form would be the path of least resistance.
Comments
#1
Unfortunately truncating the length of the name isn't where the tight spot is. See #585726: Length of machine readable name of content type may not exceed 21 for actions to perform in workflow for more information.
Workflow adds triggers using the tid of the transition, so it's a number - very short. The content name length is where things get long and need to be trimmed back.
I'm not sure at *all* where you're getting Workflow titles truncating - it's not occurring on the Workflow admin page for me. What page are you seeing that on?