Uploaded image for project: 'XWiki Rendering'
  1. XWiki Rendering
  2. XRENDERING-283

XDOM#clone() doesn't clone the meta data

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.1.4
    • Fix Version/s: 4.5.1
    • Component/s: API
    • Labels:
      None
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      As a consequence, if you modify the meta data of the XDOM returned by XWikiDocument#getXDOM() (which returns a clone of the cached document content XDOM) you break the way references are resolved in code that uses the XDOM afterwards.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tmortagne Thomas Mortagne
                Reporter:
                mflorea Marius Dumitru Florea
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: