← Back to team overview

mahara-contributors team mailing list archive

[Bug 1928908] Re: Resume attachment can't be downloaded

 

Thanks Robert.

-- 
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:
  New

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