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

Bulk action checkColdStorageAvailability fails to update version

    XMLWordPrintable

    Details

    • Release Notes Summary:
      Restore propagation on versions are fixed
    • Sprint:
      nxplatform #88
    • Story Points:
      1

      Description

      Stack seen in prod:

      checkColdStorageAvailability: Skip record after failure: checkColdStorageAvailability-03:+324
      
      org.nuxeo.ecm.core.api.PropertyException: Cannot set property on a version: coldstorage:beingRetrieved
      	at org.nuxeo.ecm.core.storage.BaseDocument.checkReadOnlyIgnoredWrite(BaseDocument.java:304) ~[nuxeo-core-storage-10.10-HF71.jar:?]
      	at org.nuxeo.ecm.core.storage.BaseDocument.writeComplexProperty(BaseDocument.java:888) ~[nuxeo-core-storage-10.10-HF71.jar:?]
      	at org.nuxeo.ecm.core.storage.BaseDocument.writeDocumentPart(BaseDocument.java:855) ~[nuxeo-core-storage-10.10-HF71.jar:?]
      	at org.nuxeo.ecm.core.storage.dbs.DBSDocument.writeDocumentPart(DBSDocument.java:1089) ~[nuxeo-core-storage-dbs-10.10-HF66.jar:?]
      	at org.nuxeo.ecm.core.api.DocumentModelFactory.writeDocumentModel(DocumentModelFactory.java:257) ~[nuxeo-core-10.10-HF71.jar:?]
      	at org.nuxeo.ecm.core.api.AbstractSession.writeModel(AbstractSession.java:377) ~[nuxeo-core-10.10-HF71.jar:?]
      	at org.nuxeo.ecm.core.api.AbstractSession.writeModel(AbstractSession.java:373) ~[nuxeo-core-10.10-HF71.jar:?]
      	at org.nuxeo.ecm.core.api.AbstractSession.saveDocument(AbstractSession.java:1629) ~[nuxeo-core-10.10-HF71.jar:?]
      	at org.nuxeo.coldstorage.service.ColdStorageServiceImpl.proceedRestoreMainContent(ColdStorageServiceImpl.java:445) ~[nuxeo-coldstorage-10.0.0.jar:?]
      	at org.nuxeo.coldstorage.service.ColdStorageServiceImpl.checkIsRetrieved(ColdStorageServiceImpl.java:536) ~[nuxeo-coldstorage-10.0.0.jar:?]
      	at org.nuxeo.coldstorage.action.CheckColdStorageAvailabilityAction$CheckColdStorageAvailabilityComputation.lambda$compute$0(CheckColdStorageAvailabilityAction.java:70) ~[nuxeo-coldstorage-10.0.0.jar:?]
      	at java.util.ArrayList.forEach(ArrayList.java:1259) ~[?:1.8.0_362]
      	at org.nuxeo.coldstorage.action.CheckColdStorageAvailabilityAction$CheckColdStorageAvailabilityComputation.compute(CheckColdStorageAvailabilityAction.java:70) ~[nuxeo-coldstorage-10.0.0.jar:?]
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: