Postponed (maintainer needs more info)
Project:
Ajax
Version:
6.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
4 Mar 2009 at 18:52 UTC
Updated:
12 May 2009 at 07:35 UTC
if you enable disable_redirect on forms the drupal_set_message() messages do not appear after the ajax form submission.
when you navigate away from the page to another page, after page refresh the messages come through and are displayed.
this was 'briefly' touched on in http://drupal.org/node/361992
Comments
Comment #1
brendoncrawford commentedTaylzor,
Thanks.
Comment #2
tayzlor commentedthis appears to not only be when that module is enabled.
i'm writing my own custom plugin to do extra stuff after a form has been submitted via ajax, and if i invoke a function on hook === 'complete' and inspect the args object using console.debug(args) in firebug there is nothing in any of the messages_ properties.
Comment #3
brendoncrawford commentedTaylzor,
This has been fixed in 6.x-1.x-dev. Please allow up to 12 hours for dev package to update. Thanks for your help.
-brendon
Comment #4
tayzlor commentedhi brendon,
tested and re-opening this as a bug, downloaded latests 1.x-dev snapshot and messages are still not appearing until the user redirects away from the page on to the next page, or if the current page is refreshed the message appears after the refresh.
there is nothing in the message_ properties of the object to display on either the 'complete' or 'message' hooks of the javascript plugin, each time these are empty.
let me know if i'm doing something wrong
thanks
Comment #5
brendoncrawford commentedTaylzor,
I am testing this on a fresh, new Drupal 6.10 install with the latest Ajax dev snapshot, and am having no problems. Try the following:
1) Disable and then uninstall ALL ajax modules
2) Clear registry and site cache
3) Completely remove the ajax module directory and replace with new dev snapshot
4) Re-enable ajax modules
5) Run update.php
If that, still doesnt work, could you try it with a fresh installation?
Thanks
Comment #6
brendoncrawford commentedTaylzor,
Still having this problem?
Comment #7
tayzlor commentedHi Brendon,
I havent had the time to try out the latest dev snapshot on a vanilla install of d6 yet as i've been snowed, so can't confirm if it still occurs. :( i'll likely be coming back to this at some point in the near future so whenever i get a chance to test it out i'l report back here :)
Comment #8
brendoncrawford commentedTaylzor,
Ok.. Until then, I will mark this as postponed.