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

Bulk action moveToColdStorage should not be in error when a doc is already in coldsto

    XMLWordPrintable

    Details

    • Release Notes Summary:
      Moving a document to cold storage that is already to cold storage does not throw exception anymore
    • Sprint:
      nxplatform #88

      Description

      The bulk action returns a 500 error if the main content of a doc is already in coldsto.

      errorCode=500, errorMessage=Cannot move document 414dc1ba-1b6c-4e82-b374-5ac8237fcb0a to cold storage: The main content for document: DocumentModelImpl(414dc1ba-1b6c-4e82-b374-5ac8237fcb0a, path=/path/to/doc_1560893146113_.trashed.19914632552984, title=xxx) is already in cold storage....
      

      The moveToColdStorage method from the service should be idempotent (log as info that the doc is already in coldsto and not throw an exception)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: