Notifications - Always EVENT_CHANGE
-----------------------------------

                 Key: XWIKI-2105
                 URL: http://jira.xwiki.org/jira/browse/XWIKI-2105
             Project: XWiki Core
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.1.2
         Environment: Any
            Reporter: Marius Dumitru Florea
            Priority: Blocker


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to