Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-23874

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 18.0.0-rc-1, 17.10.3
    • 17.10.2
    • Old Core
    • None
    • Unit
    • Unknown
    • N/A
    • N/A

    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.

      Attachments

        Activity

          People

            surli Simon Urli
            surli Simon Urli
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: