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

RecomputeViews computation should not fail when file:content doesn't exist

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Content Views

      Description

      For instance:

      Action: bulk/recomputeViews fails on record: bulk-recomputeViews-02:+28032 after retries.
      
      org.nuxeo.ecm.core.bulk.action.computation.AbstractBulkComputation
      thread
      bulk/recomputeViewsPool-00,in:0,inCheckpoint:0,out:0,lastRead:1651014347134,lastTimer:0,wm:0,loop:8225,rebalance assigned
      
      org.nuxeo.ecm.core.api.model.PropertyNotFoundException: file:content
      	at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.getProperty(DocumentModelImpl.java:1290) ~[nuxeo-core-api-2021.18.6.jar:?]
      	at org.nuxeo.ecm.platform.picture.PictureViewsHelper.computePictureViews(PictureViewsHelper.java:76) ~[nuxeo-platform-imaging-core-2021.18.6.jar:?]
      	at org.nuxeo.ecm.platform.picture.recompute.RecomputeViewsAction$RecomputeViewsComputation.compute(RecomputeViewsAction.java:96) ~[nuxeo-platform-imaging-core-2021.18.6.jar:?]
      	at org.nuxeo.ecm.core.bulk.action.computation.AbstractBulkComputation.lambda$processBatchOfDocuments$3(AbstractBulkComputation.java:147) ~[nuxeo-core-bulk-2021.18.6.jar:?]
      	at org.nuxeo.runtime.transaction.TransactionHelper.lambda$runInTransaction$4(TransactionHelper.java:642) ~[nuxeo-runtime-jtajca-2021.18.6.jar:?]
      	at org.nuxeo.runtime.transaction.TransactionHelper.runInTransaction(TransactionHelper.java:675) ~[nuxeo-runtime-jtajca-2021.18.6.jar:?]
      	at org.nuxeo.runtime.transaction.TransactionHelper.runInTransaction(TransactionHelper.java:642) ~[nuxeo-runtime-jtajca-2021.18.6.jar:?]
      	at org.nuxeo.ecm.core.bulk.action.computation.AbstractBulkComputation.processBatchOfDocuments(AbstractBulkComputation.java:141) ~[nuxeo-core-bulk-2021.18.6.jar:?]
      	at org.nuxeo.ecm.core.bulk.action.computation.AbstractBulkComputation.processRecord(AbstractBulkComputation.java:102) ~[nuxeo-core-bulk-2021.18.6.jar:?]
      
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: