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

andreiashu’s picture

Assigned: Unassigned » andreiashu
andreiashu’s picture

i cannot replicate the issue. has it been solved already, or am i missing something ?

catch’s picture

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

gpk’s picture

dave reid’s picture

Component: tests » base system
Status: Active » Closed (duplicate)