Skip to content

Clear case view cache when cancelling an edit flow#2179

Open
jamescatto-cgi wants to merge 2 commits into
masterfrom
jcatto/pofcc-214
Open

Clear case view cache when cancelling an edit flow#2179
jamescatto-cgi wants to merge 2 commits into
masterfrom
jcatto/pofcc-214

Conversation

@jamescatto-cgi

@jamescatto-cgi jamescatto-cgi commented Jun 3, 2026

Copy link
Copy Markdown

JIRA link (if applicable)

https://tools.hmcts.net/jira/browse/POFCC-214

Change description

When a case is edited there can be some changes to the case that are not submitted. This happens in some scenarios when the case is validated. Since the case is not submitted, the normal mechanism of clearing the cached CaseView in the CaseNotifier is not triggered. Thus, any amendments are not seen, e.g. in the Summary tab.

To resolve this and avoid undue cache clearing, the cache is cleared when a cancellation is performed. This was thought sufficient since the CaseNotifier cache is not used before then.

Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[ X] No

@jamescatto-cgi jamescatto-cgi requested a review from a team as a code owner June 3, 2026 16:00
@sonarqubecloud

sonarqubecloud Bot commented Jun 3, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants