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

Remove 2 internal XWiki.saveDocument() APIs (the ones taking an old XWikiDocument parameters)

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 1.1 M4
    • 1.1 M3
    • {Unused} Core
    • None

    Description

      The reason is that XWikiDocument should hold a copy of the original document before it's saved and reset that when saved.

      The old document parameter was there only to satisfy the need of the notification mechanism. However this is an internal need satisfied by hold a copy of the original XWikiDocument as stated above.

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: