Details
-
Bug
-
Resolution: Duplicate
-
Blocker
-
None
-
10.8-rc-1
-
None
-
Windows 10 Pro 64 bit, Edge 91, using a local instance of XWiki 8.4.6 and 9.11.8
-
Unknown
-
Description
STEPS TO REPRODUCE
- Open an instance of XWiki 8.4.6
- Add a comment to a page (created or already existing, e.g. Sandbox)
- Close the instance
- Go to a newer instance (tested with 12.10.8 and 13.5) and copy/cut the
[...]webapps\xwiki
folder and replace it (first delete the old one) in the same location on the older (8.4.6) version
- Start XWiki and finish running the DW for upgrade
- Go to the page where the comment was added, access History tab
EXPECTED RESULTS
The most recent page revision displayed is when the (last) comment was added (saved at the respective date and time).
ACTUAL RESULTS
There is an additional empty page revision saved at the time of the upgrade and which is displayed as the current version, having as summary:
Migrated property [author] from class [XWiki.XWikiComments]
The issue was reproduced also when performing an upgrade from XWiki 9.11.8 to 12.10.8 or 13.5; however, it didn't reproduce when upgrading from XWiki 10.11.11.
The issue can be very important for wikis with a large volume of content, since it alters last modification dates of documents.
The issue was initially discovered by lucaa.
Attachments
Issue Links
- duplicates
-
XWIKI-17633 New (irrelevant) major versions are generated in the history of a page by the XClassMigratorListener
- Open
- is caused by
-
XWIKI-15452 Use auto-suggestion on xproperties that can support it
- Closed
- is related to
-
XWIKI-19147 The object diff does not show anything when the type of a property changed from String to LargeString
- Open
- relates to
-
XWIKI-17633 New (irrelevant) major versions are generated in the history of a page by the XClassMigratorListener
- Open