I implemented hook_node_update() and wanted to display a message for debugging purposes, but it never shows up when updating the node with the overlay module activated. I assume the message is shown in the overlay right before it closes.
Is this intended usability behavior or is this a bug?
Workaround: Deactivate the overlay module and the messages are shown as expected.
Comments
Comment #1
klausiEscalating to critical as the overlay also eats up error messages that may be inserted for example during hook_node_update().
Comment #2
coderintherye commentedBeing detail oriented, and fixing the spelling error in title.
Comment #3
cwgordon7 commentedComment #4
EvanDonovan commentedI think there is an issue that David_Rothstein created that might resolve this, which is RTBC. Not sure what the # of it is now...
Comment #5
catchNot critical, just a normal bug.
Comment #6
casey commented#658720: Clean up overlay_close_dialog() and related code
Comment #7
cwgordon7 commented#662856: Submitting a form that closes the overlay causes the form to flash on the screen again before it closes should fix the bulk of the problem, but this issue will require an additional patch to remove a little bit of the stupidity from overlay.module.
Comment #8
EvanDonovan commented#662856: Submitting a form that closes the overlay causes the form to flash on the screen again before it closes was committed - what's next?
Comment #9
klausiIssue is not fixed, setting back to Needs work.
Comment #10
ksenzeeIt's not needs work until there's a patch. :)
Comment #11
David_Rothstein commentedTry out the patch at #658720-34: Clean up overlay_close_dialog() and related code (this is the same issue @casey linked to above). With #662856: Submitting a form that closes the overlay causes the form to flash on the screen again before it closes already committed, I think that's the only other one we need to solve this issue - at least, that seemed to work for me.
Comment #12
klausiFixed by #658720: Clean up overlay_close_dialog() and related code