[xwiki/xwiki-platform] 03d3eb: XWIKI-22182: Page history is missing after a page ...
Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-platform Commit: 03d3ebeaea072fdc4e17f5aff0a5f7c0e5e6de8f https://github.com/xwiki/xwiki-platform/commit/03d3ebeaea072fdc4e17f5aff0a5f... Author: Simon Urli <[email protected]> Date: 2024-05-24 (Fri, 24 May 2024) Changed paths: M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/store/XWikiHibernateVersioningStore.java R xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/store/XWikiHibernateVersioningStoreTest.java Log Message: ----------- XWIKI-22182: Page history is missing after a page containing attachments is moved Revert "XWIKI-9046: Renaming a document holding a lot of revisions can lead to an OutOfMemory exception (#2926)" This reverts commit 8e509b70136b2c64359c49ad64ce128874a9c4c0. The solution provided in this commit wasn't taking into account usecases when the doc wasn't saved in DB yet, e.g. like in case of renaming. Also the solution is not good since we actually never set the archive in doc in case of criteria not all inclusive, and if it had worked it would have been a problem since we'd have kept only latest revision and lost the remaining of the history when saving docs. All in all we need another solution. To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications