Incorrect error message on SmartEvidence upload page
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Cecilia Vela Gurovic |
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."
Changed in mahara: | |
assignee: | nobody → Cecilia Vela Gurovic (ceciliavg) |
status: | Confirmed → In Progress |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Patch for "master" branch: https:/ /reviews. mahara. org/9740