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.
During simpletest test case updating I discovered a change in the behaviour when creating new nodes. The status message: "Your page was created." simply gets lost. A view on the node_form_execute function reveals that $msg is set but not used.
I doubt this behaviour is intentional.
Simply adding:
drupal_set_message($msg);
Gets back the message.
The change was done by the patch for the new forms api. [1]
Any comments on this? If I am right with this I'd be pleased to roll out a patch.
[1] http://cvs.drupal.org/viewcvs/drupal/drupal/modules/node.module?r1=1.531...
Comment | File | Size | Author |
---|---|---|---|
#2 | node.execute.patch | 628 bytes | Thomas Ilsche |
Comments
Comment #1
chx CreditAttribution: chx commentedThomas, go for it. You do not need to be so cautious :)
Comment #2
Thomas Ilsche CreditAttribution: Thomas Ilsche commentedHere we go.
Comment #3
moshe weitzman CreditAttribution: moshe weitzman commentedi confirm that this patch fixes the bug.
Comment #4
Dries CreditAttribution: Dries commentedCommitted to HEAD. Thanks.
Comment #5
(not verified) CreditAttribution: commented