Branch: refs/heads/stable-16.4.x
Home:
https://github.com/xwiki/xwiki-platform
Commit: 7b414e41ef87cdf212716f65d913858571db5578
https://github.com/xwiki/xwiki-platform/commit/7b414e41ef87cdf212716f65d913…
Author: Simon Urli <simon.urli(a)xwiki.com>
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.
(cherry picked from commit 03d3ebeaea072fdc4e17f5aff0a5f7c0e5e6de8f)
To unsubscribe from these emails, change your notification settings at
https://github.com/xwiki/xwiki-platform/settings/notifications