PDFs in PDF artifacts are not exporting to HTML
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Unassigned |
Bug Description
This looks to be a regression of the following:
https:/
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://
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.
description: | updated |
Changed in mahara: | |
importance: | Undecided → High |
status: | New → In Progress |
Changed in mahara: | |
milestone: | 21.10rc2 → 21.10.0 |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
This problem came in on commit 5ee26af6fe92559 9c42612a4bd1146 a755215ed0 according to git bisect
Which is the Bug 1915994: Upgrade PDF.js v2.8.335