Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.1.2
    • Fix Version/s: None
    • Component/s: {Unused} Core
    • Labels:
      None
    • keywords:
      notification, notify, event, change, new, delete
    • Similar issues:

      Description

      In com.xpn.xwiki.XWiki#saveDocument(XWikiDocument, String, XWikiContext) there is only:

      // Notify listeners about the document change
      getNotificationManager().verify(doc, originalDocument, XWikiDocChangeNotificationInterface.EVENT_CHANGE, context);

      In com.xpn.xwiki.XWiki#deleteDocument(XWikiDocument, XWikiContext) there is only:

      getNotificationManager().verify(new XWikiDocument(doc.getSpace(), doc.getName()), doc, XWikiDocChangeNotificationInterface.EVENT_CHANGE, context);

      Other events like EVENT_NEW, EVENT_DELETE etc. must be fired. See com.xpn.xwiki.notify.XWikiDocChangeNotificationInterface for a full list of possible events.

        Attachments

          Activity

            People

            • Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              mflorea Marius Dumitru Florea
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: