This issue has been created
There are 4 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-001bb7b9-8859-4d43-a06a-58845269cf75 XWIKI-25203 Open

XWikiStoreInterface#flushCache should always be called after a migration

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-4749fa0f-ba38-4f0a-bd80-f728005b947d Simon Urli created this issue on 07/Oct/26 17:41
 
Summary: XWikiStoreInterface#flushCache should always be called after a migration
Issue Type: cid:jira-generated-image-avatar-001bb7b9-8859-4d43-a06a-58845269cf75 Improvement
Affects Versions: 17.10.13
Assignee: Unassigned
Components: Old Core
Created: 07/Oct/26 17:41
Priority: cid:jira-generated-image-static-major-79073a7e-ad38-497e-8026-2a964195e69f Major
Reporter: Simon Urli
Description:

The migrations we're performing usually have an impact to the documents, and it's very easy to forget to flush the cache when performing a migration, which might then be overridden by another migration if it was done directly in DB and the other migration use the cached doc to perform changes.
This is what happened in XWIKI-25199, so to avoid having that issue in the future I think we should systematically flush the cache after a migration.

 
 

4 updates

 
cid:jira-generated-image-avatar-4749fa0f-ba38-4f0a-bd80-f728005b947d Changes by Simon Urli on 07/Oct/26 17:41
 
Fix Version: 18.9.0-rc-1
Fix Version: 17.10.14
Fix Version: 18.4.7
Assignee: Simon Urli