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

PDF previewer showing platform error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WEBUI-0.8.0
    • Component/s: Web UI

      Description

      PDF previewer is showing a platform error.
      The preview uses an iframe with a wrong URL.

      Reproduce

      http://webui.demo.nuxeo.com/nuxeo/ui/#!/browse/default-domain/workspaces/Pouer/Contract-CD.pdf

      The preview iframe url

      Possible factors

      On <nuxeo-pdf-viewer> element:

      return this.resolveUrl('pdfjs/web/viewer.html?file=' + file);

      returns ..nuxeo//bower_components.. instead of ..nuxeo/ui/bower_components..

      Nelson

      probably related with the move of elements from elements/elements.html to elements.html

      Guillaume

      Else could it be related to the fact that the baseUri looks like `http://webui.demo.nuxeo.com/nuxeo//ui/elements.html`

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: