Embedded PDFs not shown in HTML export

Bug #1698699 reported by Kristina Hoeppner on 2017-06-18
18
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Mahara
Medium
Unassigned
18.04
Medium
Unassigned
18.10
Medium
Unassigned
19.04
Medium
Unassigned
19.10
Medium
Unassigned

Bug Description

https://mahara.org/interaction/forum/topic.php?id=7904

Embedded PDFs aren't show in the HTML report.

Comment from Jono on this issue:

https://bugs.launchpad.net/mahara/+bug/1279841/comments/1

The iframe that holds the PDF still uses the mahara installation as the source URL, and iframes from external sources seem to be disabled in modern browsers if you've opened the HTML file locally (ie. you're using a file:// URL)

Steven (stevens-q) wrote :

Commit hash: d094f841794de2bf137a031fa44845c0a3441df2
Environment tested: Master
Browser tested: Chrome
Theme used: Primary school

PRECONDITIONS:
------------------------
1) Mahara user exists
2) portfolio page exist as follows
     a) has a pdf block with pfd

TEST STEPS:
------------------------
1) Log in as Mahara user
2) Create an HTML export of the portfolio page with a pdf block
3) save the file locally and extract the zip file
4) Open the index.html file in a browser
5) Verify that the PDF is displayed ✔

Catalyst QA Approved ✔

Changed in mahara:
milestone: none → 19.10.0
status: Confirmed → In Progress

Reviewed: https://reviews.mahara.org/9960
Committed: https://git.mahara.org/mahara/mahara/commit/d094f841794de2bf137a031fa44845c0a3441df2
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: master

commit d094f841794de2bf137a031fa44845c0a3441df2
Author: Robert Lyon <email address hidden>
Date: Mon May 6 14:00:40 2019 +1200

Bug 1698699: Rewrite path to PDF in HTML export

This patch rewrites the path to the html export version of the PDF file

behatnotneeded

Change-Id: I8d534af41258d219046e5f3586bf904777242cb9
Signed-off-by: Robert Lyon <email address hidden>

Reviewed: https://reviews.mahara.org/10002
Committed: https://git.mahara.org/mahara/mahara/commit/9b29d17eab9bb07240300c380d37ae63849d2e16
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: 19.04_STABLE

commit 9b29d17eab9bb07240300c380d37ae63849d2e16
Author: Robert Lyon <email address hidden>
Date: Mon May 6 14:00:40 2019 +1200

Bug 1698699: Rewrite path to PDF in HTML export

This patch rewrites the path to the html export version of the PDF file

behatnotneeded

Change-Id: I8d534af41258d219046e5f3586bf904777242cb9
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit d094f841794de2bf137a031fa44845c0a3441df2)

Reviewed: https://reviews.mahara.org/10003
Committed: https://git.mahara.org/mahara/mahara/commit/bd2c77dfec2dfd937f15fbb0782ec69fa791283d
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: 18.10_STABLE

commit bd2c77dfec2dfd937f15fbb0782ec69fa791283d
Author: Robert Lyon <email address hidden>
Date: Mon May 6 14:00:40 2019 +1200

Bug 1698699: Rewrite path to PDF in HTML export

This patch rewrites the path to the html export version of the PDF file

behatnotneeded

Change-Id: I8d534af41258d219046e5f3586bf904777242cb9
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit d094f841794de2bf137a031fa44845c0a3441df2)
(cherry picked from commit 9b29d17eab9bb07240300c380d37ae63849d2e16)

Reviewed: https://reviews.mahara.org/10004
Committed: https://git.mahara.org/mahara/mahara/commit/639f0a42399554fcc4649f630c1adb5b4ef3e314
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: 18.04_STABLE

commit 639f0a42399554fcc4649f630c1adb5b4ef3e314
Author: Robert Lyon <email address hidden>
Date: Mon May 6 14:00:40 2019 +1200

Bug 1698699: Rewrite path to PDF in HTML export

This patch rewrites the path to the html export version of the PDF file

behatnotneeded

Change-Id: I8d534af41258d219046e5f3586bf904777242cb9
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit d094f841794de2bf137a031fa44845c0a3441df2)
(cherry picked from commit 9b29d17eab9bb07240300c380d37ae63849d2e16)
(cherry picked from commit bd2c77dfec2dfd937f15fbb0782ec69fa791283d)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers