We need a test for #168909: Drupal messages (status/error) are cached along with nodes
Steps to reproduce from the original issue which could form the basis of a testing plan:
[as an admin]
* activate the contact module and set things up so that the contact form is available to anonymous users
* activate caching in normal mode
* make sure your default page in site configuration is a node (not "node", but "node/1", "node/23", etc.)[as anonymous user (ex. using another browser and not logging in)]
* visit the contact form and send a message
* you are now redirected to the default page, where a confirmation message appears ("Your message ave been sent")
* reload the page with the browser's reload button
* you shouldn't see now the message, but you see it again
* visit the site as another anonymous user (use another browser, or another PC)
* you'll see the message even if you're another anonymous user
Comments
Comment #1
andreiashu commentedComment #2
andreiashu commentedi cannot replicate the issue. has it been solved already, or am i missing something ?
Comment #3
catch@andreishu - yes the issue's already been fixed in core, but it went in without a test. So this is just a test to make sure it still works - so we'll spot regressions if they occur later.
Comment #4
gpk commentedUm I think #168909: Drupal messages (status/error) are cached along with nodes went in to 6.x but still not 7.x
Comment #5
dave reidDuplicate of #54238: page cache might show messages