Details
-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
0.9.840, 0.9.1252, 1.0 B1, 1.0 B2, 1.0 B3, 1.0 B4, 1.0 B5, 1.0 B6
-
MySQL 5.0
-
rollback database renameDocument copyDocument
-
N/A
-
N/A
-
Description
When an object on a page that is being renamed fails to be saved in its new page(at least in the case where the object contains a field that is not part of the current schema for its class) the renameDocument call does not indicate an error, nor does it abort or roll back the document rename transaction. As a result, the cache is not cleared of the changed document, so that within the same session, before a cache flush, all appears well. In reality, the document is renamed, but its objects are no longer attached to it.
This was the original presenting symptom that led to discovery of bug XWIKI-341.
Though I have not checked it, I believe the same scenario is true for copyDocument.