← Back to team overview

mahara-contributors team mailing list archive

[Bug 2008972] A change has been merged

 

Reviewed:  https://reviews.mahara.org/c/mahara/+/13837
Committed: https://git.mahara.org/mahara/mahara/commit/8e0a7b9bd5bebc3640fc059b028c88694370a182
Submitter: "Robert Lyon <robertl@xxxxxxxxxxxxxxx>"
Branch:    main

commit 8e0a7b9bd5bebc3640fc059b028c88694370a182
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Thu Mar 2 16:46:15 2023 +1300

Bug 2008972: Better error when artefact is missing from dataroot

Currently gives confusing access denied to page message

When really it should say an artefact not found message

Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Change-Id: Ib5913f3abf548914da1a460ed4b3313695af72cd

-- 
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/2008972

Title:
  Confusing error message when an artefact file is missing from dataroot

Status in Mahara:
  Fix Committed

Bug description:
  Currently gives an error:

  Access denied
  You do not have access to view this page. 

  But really the issue is the file is missing so we should give an error
  message conveying that.

  To test:

  1) Upload an image file for a person in the files area and copy the
  URL link from the 'Name' column

  2) Open this URL in a new window/tab - see the file get downloaded

  3) Delete the file from the dataroot and reload the window

  See the error message

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



References