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

No preview in Web UI with documents created through CMIS API

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 9.2
    • Fix Version/s: 9.10
    • Component/s: Seam / JSF UI, Web UI

      Description

      Creating document in Nuxeo with Ephesoft through the CMIS API, the preview it’s ok in JSF, but not in Web UI.

      Web UI shows this error message:

      PDF.js v1.5.188 (build: 0e2d50f)
      Message: Missing PDF "http://localhost:8080/nuxeo/nxfile/default/4bccc3e7-fe36-4533-b15b-febe93b75c43/file:content/Y:/Ephesoft/SharedFolders/ephesoft-system-folder/BI17/BI17_documentDOC1.pdf".

      {
        "entity-type": "document",
        "repository": "default",
        "uid": "4bccc3e7-fe36-4533-b15b-febe93b75c43",
        "path": "/Test/Ordenes/BI17_DOC1.pdf",
        "type": "SABOrder",
        "state": "project",
        "parentRef": "77a7768d-5b50-4c5b-b2bd-fe56ed77ac6a",
        "isCheckedOut": false,
        "isVersion": false,
        "isProxy": false,
        "changeToken": "7-0",
        "title": "BI17_DOC1.pdf",
        "lastModified": "2017-11-28T10:26:07.000Z",
        "properties": {
          "uid:uid": null,
          "uid:major_version": 1,
          "uid:minor_version": 0,
          "thumb:thumbnail": {
            "name": "BI17_documentDOC1.png",
            "mime-type": "image/png",
            "encoding": null,
            "digestAlgorithm": "MD5",
            "digest": "d7608b764dc9a68719528ab964dc634d",
            "length": "20387",
            "data": "http://localhost:8080/nuxeo/nxfile/default/4bccc3e7-fe36-4533-b15b-febe93b75c43/thumb:thumbnail/BI17_documentDOC1.png"
          },
          "file:content": {
            "name": "Y:\\Ephesoft\\SharedFolders\\ephesoft-system-folder\\BI17\\BI17_documentDOC1.pdf",
            "mime-type": "application/pdf",
            "encoding": null,
            "digestAlgorithm": "MD5",
            "digest": "019a9ce4c381dcc4ba855fd57ad1bd06",
            "length": "287569",
            "data": "http://localhost:8080/nuxeo/nxfile/default/4bccc3e7-fe36-4533-b15b-febe93b75c43/file:content/Y%3A%5CEphesoft%5CSharedFolders%5Cephesoft-system-folder%5CBI17%5CBI17_documentDOC1.pdf"
          },
          "common:icon-expanded": null,
          "common:icon": "/icons/pdf.png",
          "files:files": [],
          "dc:description": null,
          "dc:language": null,
          "dc:coverage": null,
          "dc:valid": null,
          "dc:creator": "Ephesoft",
          "dc:modified": "2017-11-28T10:26:07.000Z",
          "dc:lastContributor": "Ephesoft",
          "dc:rights": null,
          "dc:expired": null,
          "dc:format": null,
          "dc:created": "2017-11-28T10:26:07.049Z",
          "dc:title": "BI17_DOC1.pdf",
          "dc:issued": null,
          "dc:nature": null,
          "dc:subjects": [],
          "dc:contributors": [
            "Ephesoft"
          ],
          "dc:source": null,
          "dc:publisher": null,
          "relatedtext:relatedtextresources": [],
          "SABOrder:numOrden": "193332",
          "SABOrder:cuentaLiquidacion": {
            "cliente": null,
            "nif": null,
            "clasificacion": null
          },
          "SABOrder:cuentaValor": {
            "cliente": null,
            "ccv": null,
            "nif": null
          }
        },
        "facets": [
          "Versionable",
          "Publishable",
          "Commentable",
          "HasRelatedText",
          "Thumbnail"
        ],
        "contextParameters": {
          "acls": [
            {
              "name": "inherited",
              "aces": [
                {
                  "id": "Ephesoft:ReadWrite:true:Administrator::",
                  "username": "Ephesoft",
                  "externalUser": false,
                  "permission": "ReadWrite",
                  "granted": true,
                  "creator": "Administrator",
                  "begin": null,
                  "end": null,
                  "status": "effective"
                },
                {
                  "id": "Ephesoft:ReadWrite:true:Administrator::",
                  "username": "Ephesoft",
                  "externalUser": false,
                  "permission": "ReadWrite",
                  "granted": true,
                  "creator": "Administrator",
                  "begin": null,
                  "end": null,
                  "status": "effective"
                },
                {
                  "id": "Administrator:Everything:true:::",
                  "username": "Administrator",
                  "externalUser": false,
                  "permission": "Everything",
                  "granted": true,
                  "creator": null,
                  "begin": null,
                  "end": null,
                  "status": "effective"
                },
                {
                  "id": "members:Read:true:::",
                  "username": "members",
                  "externalUser": false,
                  "permission": "Read",
                  "granted": true,
                  "creator": null,
                  "begin": null,
                  "end": null,
                  "status": "effective"
                }
              ]
            }
          ],
          "permissions": [
            "Read",
            "Write",
            "ReadChildren",
            "AddChildren",
            "Everything",
            "RemoveChildren",
            "ReadWrite"
          ]
        }
      }
      

      Web UI ctx, the server itself seems unable to resolve

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h