Posted by deekayen on April 14, 2009 at 4:56pm
| Project: | Workflow |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (duplicate) |
Issue Summary
In CVS revision 1.75, the $name was no longer set when form altering the node edit form. That means there is an unset transition title and blank array key when working through workflow_node_form when workflow_node_form tries to use either $title or $name.
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/workflow/wo...
Attached patch re-adds the $name variable in the same way it is set in workflow_tab_form().
| Attachment | Size |
|---|---|
| workflow.module-diff_named6.patch | 629 bytes |
Comments
#1
This might be a little better so check_plain doesn't get called more than it has to.
#2
Updated patch to match the changes made in 1.83.2.1.
#3
#364608: Node form element name regression
#4
Seems to be fixed in Workflow 6.x.1.5.