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

document.clone() does not keep the original document

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5 M1
    • Fix Version/s: 1.5 M2
    • Component/s: {Unused} Core
    • Labels:
      None
    • Tests:
      Unit
    • Similar issues:

      Description

      There's a comment there stating that the original document was already set in the constructor, but that is not true. Probably initially that was the case, but the constructor was modified without updating the other methods that should set the original document.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sdumitriu Sergiu Dumitriu
              Reporter:
              sdumitriu Sergiu Dumitriu
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: