← Back to team overview

mahara-contributors team mailing list archive

[Bug 1823864] Re: Incorrect error message on SmartEvidence upload page

 

** Changed in: mahara
     Assignee: (unassigned) => Cecilia Vela Gurovic (ceciliavg)

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

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1823864

Title:
  Incorrect error message on SmartEvidence upload page

Status in Mahara:
  In Progress

Bug description:
  Issue only in Mahara 19.04RC1 / master due to addition of
  SmartEvidence editor.

  When you attempt to upload a SmartEvidence file that does not have
  well-formatted JSON, the error message alludes to more info further
  down the page when there is no further information. That error message
  is taken from the "Editor" page but needs to be adapted for the
  "Upload" page.

  To replicate:

  1. Go to Admin menu -> Extensions -> SmartEvidence -> Upload.
  2. Upload a SmartEvidence .matrix file that has errors, e.g. create a file with a single word and save it as .matrix.

  Expected result: The error message says: "This is not a valid .matrix
  file: Unable to parse the JSON content."

  Actual result: The error message says: "The current form has invalid
  json. Please scroll down the page to see the specific error."

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


References