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

XWiki.deleteDocument use wrong notify parameters.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.1, 1.2 M1
    • Fix Version/s: 1.1.2, 1.2 M2
    • Component/s: Storage, {Unused} Core
    • Labels:
      None
    • Similar issues:

      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

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

              Dates

              Created:
              Updated:
              Resolved: