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

Handle exceptions in AbstractSession#removeChildren

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2021, 2023.x
    • Fix Version/s: 2021.50, 2023.8
    • Component/s: Core
    • Release Notes Summary:
      When a child document can not be removed, the reason is now log-warned.
    • Backlog priority:
      500
    • Sprint:
      nxplatform #106
    • Story Points:
      3

      Description

      Client came across a scenario where the user was facing issues where he/she had no permission in one of the document from a large tree of folders during deletion(Document.Trash). The only error that was thrown is below

      Caught error: Failed to invoke operation Document.Trash, User {user} does not have the permission to remove the document {documentId}.

      Client requests that exceptions here be caught and logged.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: