Comment 18 for bug 739528

Revision history for this message
Steven (stevens-q) wrote :

LAUNCHPAD: https://bugs.launchpad.net/mahara/+bug/739528
GERRIT: https://reviews.mahara.org/#/c/9816/3
==============================================

TITLE: Export to HTML doesn't use selected theme

BUG SUMMARY: When a view or views is/are exported, the default "raw" style sheet (theme) is used for display. The export should use the selected theme instead.
==============================================

Commit hash: d01d8a1309bed2d0923468241e0ce4beb5697ac0
Environment tested: Master
Browser tested: Chrome
Theme used: Raw | Primary school

PRECONDITIONS:
------------------------
1) Inst admin exists and belongs to Institution One with Primary school theme (User1)
2) Inst admin (User1) portfolio page exists
3) Inst admin exists and belongs to Institution Two with Site default theme (User2)
4) Inst admin (User2) portfolio page exists

TEST STEPS:
------------------------
1) Log in as Inst admin User1
2) Browse to the Export page
3) Choose an export format = Standalone HTML website
4) Select Just some of my pages
5) Click the "Click to preview" link
6) Verify that the preview uses the Primary school theme
7) Generate the export and save to a local folder
8) Unzip the folder and open the index.html page in a browser
9) Verify that the preview uses the Primary school theme
10) Repeat the above steps using Inst admin (User2)
11) Verify that the preview uses the Site default theme

NOTE: Exports of Leap2a files will not bring across the theme if a users institution has a different theme

Catalyst Qa Approved ✔