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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 4.5.1
    • 4.1.4
    • API
    • None
    • N/A
    • N/A

    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

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

              Dates

                Created:
                Updated:
                Resolved: