html export not saving correct filepath for Journal attachment file

Bug #1893891 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 exporting all data, the files attached to a journal entry do not have the correct file path in the download link.

to replicate:
- have a journal entry with a file attached to it
- export all data
- extract the downloaded zip file
- open HTML/index.html
- click on the Journal's link

expected result: when hovering over the download icon, the path displayed by the browser starts with export_info/files/...
actual result: when hovering over the download icon, the path displayed by the browser starts with HTML/export_info/files/...

the HTML folder should not be included there

summary: - html export not saving correct filepath for blog file
+ html export not saving correct filepath for Journal file
summary: - html export not saving correct filepath for Journal file
+ html export not saving correct filepath for Journal attachment file
Changed in mahara:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Cecilia Vela Gurovic (ceciliavg)
milestone: none → 20.10.0
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/11217

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

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

commit 12289d63e405221b256c3510ccc317e58f1950e4
Author: Cecilia Vela Gurovic <email address hidden>
Date: Wed Sep 2 17:34:26 2020 +1200

Bug 1893891: html export not saving correct filepath for Journal attachment file

behatnotneeded

Change-Id: I4c88bd9b04b6f3201728d7b17957469db17d6485

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.