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

CommentFileSizeAuthor
#2 node.execute.patch628 bytesThomas Ilsche
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

chx’s picture

Thomas, go for it. You do not need to be so cautious :)

Thomas Ilsche’s picture

Status: Active » Needs review
FileSize
628 bytes

Here we go.

moshe weitzman’s picture

Status: Needs review » Reviewed & tested by the community

i confirm that this patch fixes the bug.

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to HEAD. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)