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

XWiki.deleteDocument use wrong notify parameters.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.1.2, 1.2 M2
    • 1.1.1, 1.2 M1
    • Storage, {Unused} Core
    • None

    Description

      When delete a document via XWiki.deleteDocument , notification manager is called for a document change with "new doc" set as the deleted document and "old doc" as a empty XWikiDocument.

      Problem is that it would be more correct to have "new doc" as empty XWikiDocument and "old doc" as deleted document.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: