mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #63267
[Bug 1928908] A change has been merged
Reviewed: https://reviews.mahara.org/11793
Committed: https://git.mahara.org/mahara/mahara/commit/b6880747120d2a2d9c5e9bc54dae98d1d78986c5
Submitter: Gold (gold@xxxxxxxxxxxxxxx)
Branch: master
commit b6880747120d2a2d9c5e9bc54dae98d1d78986c5
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date: Wed May 19 21:15:06 2021 +1200
Bug 1928908: Resume attachments not styled correctly in resume section
Also the download link is not working
They need to look more like how they render in the single resume block
Change-Id: I3cd210a2fc25392764895ec8ea7e1df629f3af60
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
--
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/1928908
Title:
Resume attachment can't be downloaded
Status in Mahara:
In Progress
Bug description:
Using 20.10 or 21.04, when you setup a resume with attachments, the
attachment name is listed correctly, but the download link show the
error:
MAHARAURL/artefact/file/download.php?file=undefined
A required parameter is missing or malformed
The 'file' parameter is not an integer
This is fixed by:
htdocs/artefact/resume/lib.php:
- var href = self.config.wwwroot + 'artefact/file/download.php?file=' + attachments[i].id;
+ var href = self.config.wwwroot + 'artefact/file/download.php?file=' + attachments[i].attachment;
Regards,
Tim
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1928908/+subscriptions
References