Public bug reported:

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

** Affects: mahara
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1894026

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

Status in Mahara:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1894026/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to