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

Bulk action checkColdStorageAvailability fails to update version

    XMLWordPrintable

    Details

    • Release Notes Summary:
      Retrieve now works on versions
    • Backlog priority:
      900
    • Sprint:
      nxplatform #94
    • Story Points:
      2

      Description

      Similarly to NXP-31865 an other stack seen is in prod

      org.nuxeo.ecm.core.api.PropertyException: Cannot set property on a version: coldstorage:beingRetrieved
      	at org.nuxeo.ecm.core.storage.BaseDocument.checkReadOnlyIgnoredWrite(BaseDocument.java:320) ~[nuxeo-core-storage-2021.38.4.jar:?]
      	at org.nuxeo.ecm.core.storage.BaseDocument.writeComplexProperty(BaseDocument.java:934) ~[nuxeo-core-storage-2021.38.4.jar:?]
      	at org.nuxeo.ecm.core.storage.BaseDocument.writeDocumentPart(BaseDocument.java:875) ~[nuxeo-core-storage-2021.38.4.jar:?]
      	at org.nuxeo.ecm.core.storage.dbs.DBSDocument.writeDocumentPart(DBSDocument.java:1132) ~[nuxeo-core-storage-dbs-2021.38.4.jar:?]
      	at org.nuxeo.ecm.core.api.DocumentModelFactory.writeDocumentModel(DocumentModelFactory.java:243) ~[nuxeo-core-2021.38.4.jar:?]
      	at org.nuxeo.ecm.core.api.AbstractSession.writeModel(AbstractSession.java:428) ~[nuxeo-core-2021.38.4.jar:?]
      	at org.nuxeo.ecm.core.api.AbstractSession.writeModel(AbstractSession.java:424) ~[nuxeo-core-2021.38.4.jar:?]
      	at org.nuxeo.ecm.core.api.AbstractSession.saveDocument(AbstractSession.java:1790) ~[nuxeo-core-2021.38.4.jar:?]
      	at org.nuxeo.coldstorage.service.ColdStorageServiceImpl.checkIsRetrieved(ColdStorageServiceImpl.java:592) ~[nuxeo-coldstorage-2021.1.11.jar:?]
      	at org.nuxeo.coldstorage.action.CheckColdStorageAvailabilityAction$CheckColdStorageAvailabilityComputation.lambda$compute$0(CheckColdStorageAvailabilityAction.java:71) ~[nuxeo-coldstorage-2021.1.11.jar:?]
      	at java.util.ArrayList.forEach(ArrayList.java:1541) ~[?:?]
      	at org.nuxeo.coldstorage.action.CheckColdStorageAvailabilityAction$CheckColdStorageAvailabilityComputation.compute(CheckColdStorageAvailabilityAction.java:71) ~[nuxeo-coldstorage-2021.1.11.jar:?]
      	at org.nuxeo.ecm.core.bulk.action.computation.AbstractBulkComputation.lambda$processBatchOfDocuments$3(AbstractBulkComputation.java:151) ~[nuxeo-core-bulk-2021.38.4.jar:?]
      

      it corresponds to the second case in ColdStorageServiceImpl#checkIsRetrieved where NXP-31865 only addressed the first case.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: