Closed (fixed)
Project:
Drupal core
Version:
x.y.z
Component:
base system
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Oct 2005 at 13:29 UTC
Updated:
28 Nov 2005 at 06:20 UTC
See attached small patch. Fixes the behaviour of forms giving aerrors when executed, because $form['#action'] isn't wrapped through url()..
| Comment | File | Size | Author |
|---|---|---|---|
| form-api-form-actions.patch | 3.87 KB | Stefan Nagtegaal |
Comments
Comment #1
asimmonds commentedI applied this and works as advertised, tested with clean-urls enabled and disabled. Brings these #action uses in line with the other 8 or so in HEAD.
Comment #2
Tobias Maier commentedlooks great to me!
Comment #3
junyor commentedShouldn't this be handled in the form API when handling #action rather than every time #action appears?
Comment #4
Stefan Nagtegaal commentedAdrian is aware of the problem, and your solution.. He told me that #action is going to be wrapped through url() by default in the forms api..
though I'm not sure there is a patch already...
Comment #5
junyor commentedThen it sounds like this still needs work.
Comment #6
asimmonds commentedIt looks like Steven has committed this patch into HEAD http://drupal.org/cvs?commit=21271
Comment #7
chx commentedComment #8
(not verified) commented