Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-31514

Fire an event before a document is being trashed or untrashed

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2023.0, 2021.31
    • Component/s: Core
    • Release Notes Summary:
      aboutToTrash and aboutToUntrash inline events are now fired before trashing or untrashing a document
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #76
    • Story Points:
      3

      Description

      Currently, there is only an event fired after the document is trashed/untrashed.

      We want to fire a new events (aboutToTrash and aboutToUntrash) before the document is being trashed/untrashed. This should be done in PropertyTrashService#doTrashDocument and PropertyTrashService#doUntrashDocument.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: