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.
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().
Comment | File | Size | Author |
---|---|---|---|
#2 | workflow_missing_form_name.patch | 1.13 KB | deekayen |
#1 | workflow.module-diff_named6-2.patch | 918 bytes | deekayen |
workflow.module-diff_named6.patch | 629 bytes | deekayen | |
Comments
Comment #1
deekayen CreditAttribution: deekayen commentedThis might be a little better so check_plain doesn't get called more than it has to.
Comment #2
deekayen CreditAttribution: deekayen commentedUpdated patch to match the changes made in 1.83.2.1.
Comment #3
deekayen CreditAttribution: deekayen commented#364608: Node form element name regression
Comment #4
RdeBoerSeems to be fixed in Workflow 6.x.1.5.