** Changed in: mahara/21.04
       Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1937982

Title:
  Download button on reports page always downloads same file

Status in Mahara:
  Fix Committed
Status in Mahara 21.04 series:
  In Progress
Status in Mahara 21.10 series:
  Fix Committed

Bug description:
  Description:
  When generating a report in /admin/users/statistics.php, clicking the 
'Download' button always downloads a file containing the exact same data as the 
first report that was run.

  Steps to replicate:
  1. Go to the Reports page and click Configure Report
  2. Find a report that will generate some data e.g. 'Account details'. Select 
a date range and click Submit.
  3. Click 'Download' at the bottom of the page - view the file and look at the 
contents, also note the total file size on your computer
  4. Find a different report that will generate some data, find an appropriate 
date range and click Submit
  5. Click 'Download' again and view the file

  Observed results:
  The second generated file has the exact same contents as the first one. It 
has the exact same filesize as the first also. Essentially the resulting file 
doesn't reflect the newly-run report in any way. It's as if the first file that 
is generated is held in cache and can't be overwritten by a new report.

  Expected results:
  The second generated file contains the results of the second report that was 
run

  Additional notes:
  This happens regardless of the date range and report type. You could select 
the same report and try generating two lots of results with different date 
ranges - the exact same file (the very first one) will still be downloaded.

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


_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to