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

XWikiDocument#clone can switch the initial document dirty flag to true

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 17.3.0-rc-1, 17.2.1
    • 16.10.5
    • Old Core
    • None
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      If the document contains an xclass and is clean, cloning it will flag it as dirty. This can have a huge impact when relying on the dirty flag for any reason, one example is XWIKI-23075.

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: