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

CommentFileSizeAuthor
#3 boost-974478-2.patch514 bytesjoelstein
#1 boost-974478.patch550 bytesjoelstein
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

joelstein’s picture

Status: Active » Needs review
FileSize
550 bytes

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

joelstein’s picture

Can the maintainer please take a look at this patch?

joelstein’s picture

FileSize
514 bytes

This issue still happens for me, and is only resolved with this patch. I've updated it for the latest dev.

mikeytown2’s picture

ChrisLaFrancis’s picture

Subscribing.