This issue has been created
There are 3 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-eba20c8a-94c1-4635-a5a7-6214dfd709f6 XWIKI-23874 Open

BaseObject#clone doesn't preserve the order of the fields

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-b379c487-94f0-4361-b55b-0b4750c97acd Simon Urli created this issue on 07/Jan/26 10:03
 
Summary: BaseObject#clone doesn't preserve the order of the fields
Issue Type: cid:jira-generated-image-avatar-eba20c8a-94c1-4635-a5a7-6214dfd709f6 Bug
Affects Versions: 17.10.2
Assignee: Unassigned
Components: Old Core
Created: 07/Jan/26 10:03
Priority: cid:jira-generated-image-static-major-50d6831b-d1bc-41cf-9cbe-699b935b8978 Major
Reporter: Simon Urli
Description:

The order of the fields in a BaseObject is not preserved when performing a clone, meaning that iterating on them is not consistent, while it's supposed to be.

 
 

3 updates

 
cid:jira-generated-image-avatar-b379c487-94f0-4361-b55b-0b4750c97acd Changes by Simon Urli on 07/Jan/26 10:03
 
Fix Version: 18.0.0-rc-1
Fix Version: 17.10.3
Assignee: Simon Urli