← Back to team overview

mahara-contributors team mailing list archive

[Bug 1946046] Re: PDFs in PDF artifacts are not exporting to HTML

 

This problem came in on commit 5ee26af6fe925599c42612a4bd1146a755215ed0
according to git bisect

Which is the Bug 1915994: Upgrade PDF.js v2.8.335

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1946046

Title:
  PDFs in PDF artifacts are not exporting to HTML

Status in Mahara:
  New

Bug description:
  This looks to be a regression of the following:

  https://bugs.launchpad.net/mahara/+bug/1698699

  When testing PDF exports to HTML I found the PDF in the artifact block
  was not being linked to a local file when viewing
  file:///path/to/extracted/index.html

  The block and iframe are present and the iframe is pointing to the the
  artefact on the site that generated the export.

  The iframe is, correctly, showing a '[site] refused to connect' error.

  Testing:
  Create a Page.  Add a PDF block, upload a PDF, save the block.

  Export the Page.

  Extract the zip and open the index.html file in the HTML directory.

  Expected outcome: The PDF is presented in the block in the browser.
  Actual outcome: The link points to the site the archive is from and the browser blocks it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1946046/+subscriptions



References