Workflow _submit using old model
merlinofchaos - March 23, 2006 - 20:10
| Project: | Workflow |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
In the current formsapi model, directly using drupal_goto on your _submit is wrong; instead, return the location to go to.
This turns out to be a problem for me since form_alter can't accept additional data in other _submit functions because that drupal_goto effectively ends execution.
| Attachment | Size |
|---|---|
| submit_goto_0.patch | 2.4 KB |

#1
In case you're wondering why I care about form_alter:
http://cvs.drupal.org/viewcvs/*checkout*/drupal/contributions/modules/na...
#2
Committed. Thanks.
#3