Length of machine readable name of content type may not exceed 21 for actions to perform in workflow

hans0811 - September 23, 2009 - 15:12
Project:Workflow
Version:6.x-1.1
Component:Documentation
Category:task
Priority:minor
Assigned:Unassigned
Status:active
Description

I lost a few hours on this one.

If the machine readable name of the content type on which you want to define actions in the workflow exceeds 20 characters then the actions you define will not be visible in the screen where you define the triggers and they will not execute.

The reason is that the length of the field "op" in the "trigger-assignments" table is 32 characters.
The name of this "op"-field is a concatenation of the string "workflow-" with the machine readable name of the content type, another "-" and the transition-id on which the action has to be performed.
If the latter has a length of 1 then this leaves 32 - 9 - 1 - 1 = 21 characters for the machine readable name of the content type.

Can this be added as a remark in the readme.txt please?
Thanks!

 
 

Drupal is a registered trademark of Dries Buytaert.