exports: js files are fetched from the wrong dir in configurable theme
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/
Actual result: the path of some of the .js file (not theme.js) starts with HTML/static/
Changed in mahara: | |
assignee: | nobody → Cecilia Vela Gurovic (ceciliavg) |
importance: | Undecided → Medium |
status: | New → In Progress |
milestone: | none → 20.10.0 |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Reviewed: https:/ /reviews. mahara. org/11218 /git.mahara. org/mahara/ mahara/ commit/ a6af81231c2746f df7c3ed7a12cf8e 689bc21f42
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: master
commit a6af81231c2746f df7c3ed7a12cf8e 689bc21f42
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: I6a58c9c9a1f314 ae17b838aa0ca72 f201caec351