Cache not cleared when document accepted

Created on 13 July 2022, almost 2 years ago
Updated 28 June 2024, about 1 hour ago

Problem/Motivation

After accepting the legal document via popup, the popup is shown again.

Steps to reproduce

  • Create a legal document that shows in a popup
  • Enable page cache
  • Load page for user with popup
  • Accept document
  • When page reloads, note popup shows again

Proposed resolution

Clear entity_legal_document cache when document is accepted.

πŸ› Bug report
Status

Needs work

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States greenSkin

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024