This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-3eed5537-c260-4bac-ae9f-0d16babeead7 XWIKI-23088 Open

ImplicitlyAllowedValuesPageQueryBuilder switch the document sirtyu flag

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-6823c249-e2e7-42c5-8495-3031cfcf1696 Thomas Mortagne created this issue on 10/Apr/25 09:05
 
Summary: ImplicitlyAllowedValuesPageQueryBuilder switch the document sirtyu flag
Issue Type: cid:jira-generated-image-avatar-3eed5537-c260-4bac-ae9f-0d16babeead7 Bug
Affects Versions: 10.6
Assignee: Unassigned
Components: Old Core
Created: 10/Apr/25 09:05
Priority: cid:jira-generated-image-static-major-2b5c5438-b989-4ea4-9840-b7b85e8c5a78 Major
Reporter: Thomas Mortagne
Description:

Which does not make any sense for what is supposed to be a read operation.

ImplicitlyAllowedValuesPageQueryBuilder#build set a page related id and value fields. While it does clone the PageClass instance to avoid fully modifying the document, the clone (in this version of XWiki) does not remove the owner document from the element (and if it did it would make the method fail later since it cannot really work without an owner document...).