Branch: refs/heads/XWIKI-22931
Home:
https://github.com/xwiki/xwiki-platform
Commit: ea737b7fb1862df2a85a1d00c77e3f86f3ccea35
https://github.com/xwiki/xwiki-platform/commit/ea737b7fb1862df2a85a1d00c77e…
Author: Simon Urli <simon.urli(a)xwiki.com>
Date: 2025-03-05 (Wed, 05 Mar 2025)
Changed paths:
M
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/doc/XWikiAttachment.java
M
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/doc/XWikiAttachmentContent.java
M
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/doc/XWikiDocument.java
M
xwiki-platform-core/xwiki-platform-store/xwiki-platform-store-filesystem-oldcore/src/main/java/org/xwiki/store/legacy/doc/internal/FilesystemAttachmentContent.java
M
xwiki-platform-core/xwiki-platform-store/xwiki-platform-store-filesystem-oldcore/src/test/java/org/xwiki/store/legacy/store/internal/FilesystemAttachmentVersioningStoreTest.java
Log Message:
-----------
XWIKI-22931: The edit action modify the cached document when creating a page from
template
* Get rid of ownerDocument in XWikiAttachmentContent
* Properly override new clone method in extended classes
* Set the attachment document in XWikiDocument#setAttachment
WIP: this still shows a regression in PageTemplatesIT with a stacktrace
about a missing attachment.
To unsubscribe from these emails, change your notification settings at
https://github.com/xwiki/xwiki-platform/settings/notifications