exports: js files are fetched from the wrong dir in configurable theme

Bug #1894026 reported by Cecilia Vela Gurovic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Cecilia Vela Gurovic

Bug Description

when generating the 'All my data' export the html files created have the wrong path for the javascript files, if the logged in user exporting the data belongs to an institution using a configurable theme

To replicate
- have an institution with configurable theme set up
- have a member of that institution and login as that user
- go to User menu -> Manage -> Export
- select 'All my data' and click on 'Generate export'
- extract the downloaded .zip file is a local directory
- open the HTML/index.html file
- inspect the code in the browser

Expected result: the path of the .js file, e.g. jquery.js, should be pointing to the HTML/static/theme/raw but the theme.js file that is located in HTML/static/theme/custom
Actual result: the path of some of the .js file (not theme.js) starts with HTML/static/theme/custom

Changed in mahara:
assignee: nobody → Cecilia Vela Gurovic (ceciliavg)
importance: Undecided → Medium
status: New → In Progress
milestone: none → 20.10.0
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/11218
Committed: https://git.mahara.org/mahara/mahara/commit/a6af81231c2746fdf7c3ed7a12cf8e689bc21f42
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit a6af81231c2746fdf7c3ed7a12cf8e689bc21f42
Author: Cecilia Vela Gurovic <email address hidden>
Date: Thu Sep 3 17:22:49 2020 +1200

Bug 1894026: fetch js from correct folder in html exports

behatnotneeded

Change-Id: I6a58c9c9a1f314ae17b838aa0ca72f201caec351

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.