-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: coldstorage-2021.1, coldstorage-10.1, coldstorage-2023.0
-
Component/s: ColdStorage
-
Release Notes Summary:Moving a document to cold storage that is already to cold storage does not throw exception anymore
-
Tags:
-
Sprint:nxplatform #88
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)