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

When fully replacing existing document WikiStream instance output module should not generate delete event

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 6.0.1
    • Fix Version/s: 6.1-rc-1, 5.4.6
    • Component/s: Filter - Instance
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Right now when not adding a new version to existing document the following event are generated:

      • DocumentDeleted
      • DocumentUpgraded

      It should always be DocumentUpgraded event only even if we don't keep the previous document history.

      This is important since DocumentDeleted to trigger some not desired cleanup (for example importing XWikiAllGroup and loosing all existing rights associated to that group).

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: