Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Steps to reproduce:
- Setup authcache, configure a role allowed to post comments, allow cached pages for this role
- Create a user with the role created in previous step
- View a node with open comments
- Post a comment. Result: The new comment is visible
- Reload the page without reposting the data: The new comment vanished
I regrettably do not understand how cache-invalidation works in this case. It would be great if the original developer could shed some light on the stuff he implemented in 6.x.
Comment | File | Size | Author |
---|---|---|---|
#1 | 0001-Issue-1881998-by-znerol-Use-CACHE_TEMPORARY-instead-.patch | 792 bytes | znerol |
Comments
Comment #1
znerol CreditAttribution: znerol commentedOk, here is what happend. In the course of the drupal 7.x conversion, it was somehow decided that pages should be stored using
CACHE_PERMANENT
instead ofCACHE_TEMPORARY
. This change was not only not necessary but is also causing the trouble with the comments. The attached patch reverts it.Comment #2
simg CreditAttribution: simg commentedpatch applied, thx.