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
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.

AttachmentSize
submit_goto_0.patch2.4 KB

#1

merlinofchaos - March 23, 2006 - 20:11

In case you're wondering why I care about form_alter:

http://cvs.drupal.org/viewcvs/*checkout*/drupal/contributions/modules/na...

#2

jvandyk - April 26, 2006 - 19:34
Status:needs review» fixed

Committed. Thanks.

#3

Anonymous - May 10, 2006 - 19:46
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.