Details
- 
    
Bug
 - 
    Resolution: Fixed
 - 
    
Critical
 - 
    1.3.2, 1.4 M2
 - 
    None
 
Description
when upgrading an existing document, in place of using directly XWikiStoreInterface.deleteXWikiDoc(doc, context); the packager plugin use XWiki.deleteDocument(XWikiDocument doc, XWikiContext context) which move the document in the trash and generate a DELETE notification. This makes rightsmanager clean groups and rigths when the deleted document is a user for example.