Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-4142

Error 404: "Preview not available" on <nuxeo-document-preview>

    XMLWordPrintable

    Details

      Description

      NOTE: project details in private comments:

      Steps to reproduce:

      • Access to project
      • Click on Browse menu
      • Click on Root > Customer request folder
      • Click on one of the document listed, i.e. SAR - 000076
      • Click on "Edit" icon in the 2nd card of the right column
      • Attack the Word file called Letter to K Davies July 2017.docx in the Content field
      • Click on Save button

      The document is saved, but in the view, under the document list the document preview is not shown. This error appears in his place:

      {
      "entity-type":"exception",
      "code":"org.nuxeo.ecm.webengine.model.exceptions.WebResourceNotFoundException",
      "status":404,
      "message":"Preview not available"
      }
      


      The browser console shows this error message:

      
      elements.html:86353 GET http://XXXXXXXX-nuxeo.prod.io.nuxeo.com/nuxeo/site/api/v1/repo/default/id/6c15af83-dbcc-4f3e-ae22-aa94ff110a4e/@preview/ 404 (Not Found)
      _updatePreview @ elements.html:86353
      _updateBlob @ elements.html:86333
      _complexObserverEffect @ elements.html:4712
      _effectEffects @ elements.html:4547
      _propertySetter @ elements.html:4531
      __setProperty @ elements.html:4540
      _applyEffectValue @ elements.html:5023
      _annotationEffect @ elements.html:4686
      _effectEffects @ elements.html:4547
      _propertySetter @ elements.html:4531
      setter @ elements.html:4610
      _update @ elements.html:18753
      _complexObserverEffect @ elements.html:4712
      _effectEffects @ elements.html:4547
      _propertySetter @ elements.html:4531
      __setProperty @ elements.html:4540
      _applyEffectValue @ elements.html:5023
      _annotatedComputationEffect @ elements.html:4739
      _effectEffects @ elements.html:4547
      _propertySetter @ elements.html:4531
      __setProperty @ elements.html:4540
      _applyEffectValue @ elements.html:5023
      _annotationEffect @ elements.html:4686
      _effectEffects @ elements.html:4547
      _propertySetter @ elements.html:4531
      __setProperty @ elements.html:4540
      _applyEffectValue @ elements.html:5023
      _annotationEffect @ elements.html:4686
      _effectEffects @ elements.html:4547
      _propertySetter @ elements.html:4531
      __setProperty @ elements.html:4540
      __setPropertyImpl @ elements.html:7391
      _applyEffectValue @ elements.html:5023
      _annotationEffect @ elements.html:4686
      _effectEffects @ elements.html:4547
      _propertySetter @ elements.html:4531
      setter @ elements.html:4610
      (anonymous) @ elements.html:18931
      _forwardParentProp @ elements.html:18930
      (anonymous) @ elements.html:18916
      _updateModel @ elements.html:18915
      _complexObserverEffect @ elements.html:4712
      _effectEffects @ elements.html:4547
      _propertySetter @ elements.html:4531
      __setProperty @ elements.html:4540
      _applyEffectValue @ elements.html:5023
      _annotationEffect @ elements.html:4686
      _effectEffects @ elements.html:4547
      _propertySetter @ elements.html:4531
      __setProperty @ elements.html:4540
      _computeEffect @ elements.html:4725
      _effectEffects @ elements.html:4547
      _propertySetter @ elements.html:4531
      __setProperty @ elements.html:4540
      _applyEffectValue @ elements.html:5023
      _annotationEffect @ elements.html:4686
      _effectEffects @ elements.html:4547
      _propertySetter @ elements.html:4531
      setter @ elements.html:4610
      (anonymous) @ elements.html:4653
      _notifyListener @ elements.html:5172
      (anonymous) @ elements.html:4674
      fire @ elements.html:4383
      _notifyChange @ elements.html:4514
      _notifyEffect @ elements.html:4693
      _effectEffects @ elements.html:4547
      _propertySetter @ elements.html:4531
      setter @ elements.html:4610
      (anonymous) @ elements.html:4653
      _notifyListener @ elements.html:5172
      (anonymous) @ elements.html:4674
      fire @ elements.html:4383
      _notifyChange @ elements.html:4514
      _notifyEffect @ elements.html:4693
      _effectEffects @ elements.html:4547
      _propertySetter @ elements.html:4531
      setter @ elements.html:4610
      (anonymous) @ elements.html:17800
      

      The code used to show the preview is this:

          <nuxeo-document-preview document="[[document]]"></nuxeo-document-preview>
      

      The nuxeo-document-preview is working ok with other pdf... in the same project

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: