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

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1 M3
    • Fix Version/s: 1.1 M4
    • Component/s: {Unused} Core
    • Labels:
      None
    • Similar issues:

      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

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

                Dates

                Created:
                Updated:
                Resolved: