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

Create a Bulk Action to permanently delete docs

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2021.x, 2023.x
    • Component/s: Bulk

      Description

      Today there is a bulk action to Trash documents, but if you want mass delete you have to go through a Bulk Automation Action using the Document.Delete operation, this approach is not efficient because of the cost of the automation stack.

      A new bulk action should be provided, probably limited to Administrator, the action could perhaps share the bulk/trash topic to avoid topics proliferation.

      The NXQL provided could be limited to avoid creating orphan documents on completion. For instance it could be limited to a doc id (or a list) in order to remove all descendants.

      This action could be limited to MongoDB back-end because it supports delete producing orphan docs (which is not the case on VCS) so delete don't have to be ordered.


      Indeed there is already a DeletionAction that is removing doc at low level without checking for descendant so it might create orphan docs (placeless doc)
      and this bulk action is not http exposed.

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: