Uploaded image for project: 'Islandora'
  1. Islandora
  2. ISLANDORA-2024

PDF upload blocked by Javascript errors

    Details

      Description

      PDF file upload (into PDF Collection, or Newspaper Issue in Newspaper Collection) triggers several Javascript errors (visible in browser console), e.g. on http://islandora.vagrant4:8000/islandora/object/islandora%3Asp_pdf_collection/manage/overview/ingest. The Ajax progress throbber continues spinning indefinitely but no bytes are transferred to server.

      Occurs on Islandora Vagrant downloaded 11 July 2017.

      Affects Chrome 59, Firefox 52.2.1, but (interestingly) not Safari 10.1.1

      Uncaught TypeError: Cannot read property 'length' of undefined
          at HTMLDivElement.validateExtension (file.js:72)
          at HTMLDivElement.dispatch (jquery.min.js:5)
          at HTMLDivElement.v.handle (jquery.min.js:5)
      Failed to load resource: net::ERR_ACCESS_DENIED :8000/file/ajax/file/form-6Y60elExdG8d3WXDfRr5ZRdblWTl9y6U5QUTKFdJlVM Failed to load resource: net::ERR_ACCESS_DENIED
      jquery.form.min.js:11 Uncaught DOMException: Blocked a frame with origin "http://islandora.vagrant4:8000" from accessing a cross-origin frame.
      at HTMLIFrameElement.t (http://islandora.vagrant4:8000/sites/all/modules/jquery_update/replace/misc/jquery.form.min.js?v=2.69:11:344)
      

      A PDF file can be uploaded if Javascript is disabled, but disabled Javascript stops Drupal batch processing of ingested file (e.g. for newspaper issue).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jhunt Jonathan Hunt
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: