Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
18.10.0
-
None
-
Unknown
-
Description
STEPS TO REPRODUCE:
- Make sure logging.deprecated.enabled isn't set to false in xwiki.properties (the default).
- Install an extension that contains a page P and modify P.
- Reset P to the version of the extension, from the diff of the customized pages of the extension in the Extension Manager (or with $services.extension.xar.reset).
- Look at the logs.
EXPECTED RESULTS:
No warning.
ACTUAL RESULTS:
A warning "Abusive modification of the cached document" about P, with a stack trace going through Packager#resetWithContextUser. If saving P fails, the cached P keeps the content of the extension.
The warning is visible in the CI logs of ExtensionIT (NestedExtensionIT#testResetDocument).
Found while working on XWIKI-22643.
Attachments
Issue Links
- is related to
-
XWIKI-25916 Make the functional tests fail when the server logs an abusive modification of a cached document
-
- Open
-
- relates to
-
XWIKI-22643 Documents can be saved at the same time, leading to lost writes
-
- Open
-