Here's how to reproduce this bug. Install the latest Boost dev, and OG. The user is at /og/all (where he can see a listing of all the groups) and clicks the "Join" link (which takes the user to a URL like /og/subscribe/1498?destination=og%2Fall). Since the user is anonymous, he cannot join a group, and OG fires drupal_set_message() and drupal_goto(). The user is redirected back to /og/all, but doesn't see the message. Further, when that page's cache is cleared, the visitor sees loads of messages at the top of the page.
Possible related issues:
- #863462: No Webform confirmation message after redirection with Boost installed
- #679422: hook_exit() causes Ubercart "Add to Cart" to fail
- #798040: drupal_set_message() content does not display, even with nocache=1 in the URL
Comment | File | Size | Author |
---|---|---|---|
#3 | boost-974478-2.patch | 514 bytes | joelstein |
#1 | boost-974478.patch | 550 bytes | joelstein |
Comments
Comment #1
joelstein CreditAttribution: joelstein commentedIt looks like the problem lies in boost_exit(), where Boost will only add "nocache=1" if this was a POST request. The attached patch simply lifts that requirement, which solves the immediate problem. I don't know what other problems may be introduced, though.
Comment #2
joelstein CreditAttribution: joelstein commentedCan the maintainer please take a look at this patch?
Comment #3
joelstein CreditAttribution: joelstein commentedThis issue still happens for me, and is only resolved with this patch. I've updated it for the latest dev.
Comment #4
mikeytown2 CreditAttribution: mikeytown2 commentedstart of a better solution
http://drupal.org/node/679422#comment-4142810
Comment #5
ChrisLaFrancis CreditAttribution: ChrisLaFrancis commentedSubscribing.