... and that's wrong. It's fine to suppress the message 'usernode created successfully', but when the usernode is *not* being created successfully -- http://drupal.org/node/263507 -- then you are throwing away important information!

the solution would be to drupal_get_messages, then do the work, then drupal_get_messages() again, check whether the result is just your one unwanted error, and if not, combine the new error with the previous existing errors.

Comments

fago’s picture

feel free to provide a clean patch that improves that

pomliane’s picture

Status: Active » Closed (won't fix)

This version of Usernode is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.

This issue has been automagically closed by a script.