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.
FormAPI 3 eliminated support for hook_submit() and nodeapi op submit, since all those tasks can be performed by adding a submit handler to the form itself.
Ah, but then we forgot to put in the four lines that properly trigger those submit handlers during node form submission. Whoops!
This patch fixes that oversight.
Comment | File | Size | Author |
---|---|---|---|
#3 | node_form_fix_0.patch | 941 bytes | eaton |
node_form_fix.patch | 789 bytes | eaton | |
Comments
Comment #1
chx CreditAttribution: chx commentedumm yes.
Comment #2
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks.
Comment #3
eaton CreditAttribution: eaton commentedThis one might have had a bit TOO speedy response. *grin* One line still needs to go in -- the one where the altered data from the assorted handlers is actually passed on to node_save()
Comment #4
Gurpartap Singh CreditAttribution: Gurpartap Singh commentedComment #5
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD.
Comment #6
eaton CreditAttribution: eaton commentedThanks, Dries!
Comment #7
(not verified) CreditAttribution: commented