stable
Clone or download
Read-only
Closes request #39742 Display xts tql syntax error message Instead of displaying just 'Error while parsing the query', we add at the end of the message what is expected by the parser and a block of code displaying where in the query is located the error *Testing:* Write a syntaxically wrong query, you should get a message explaining what's wrong. Others error message should not be impacted Change-Id: I62e113baa57e45aa98ed143fe9ab449540d6464a
Modified Files
Name | ||||
---|---|---|---|---|
M | lib/frontend/fault/src/Fault.ts | +1 | −1 | Go to diff View file |
A | lib/frontend/fetch-result/src/faults/RestlerErrorDetails.ts | +20 | −0 | Go to diff View file |
M | lib/frontend/fetch-result/src/faults/RestlerErrorHandler.test.ts | +23 | −0 | Go to diff View file |
M | lib/frontend/fetch-result/src/faults/RestlerErrorHandler.ts | +18 | −6 | Go to diff View file |
A | lib/frontend/fetch-result/src/faults/TuleapAPIWithDetailsFault.ts | +37 | −0 | Go to diff View file |
M | plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportsResource.php | +6 | −6 | Go to diff View file |
A | plugins/crosstracker/include/CrossTracker/REST/v1/SyntaxErrorTranslator.php | +54 | −0 | Go to diff View file |
M | plugins/crosstracker/scripts/cross-tracker/src/CrossTrackerWidget.vue | +4 | −1 | Go to diff View file |
M | plugins/crosstracker/scripts/cross-tracker/src/components/ErrorMessage.vue | +52 | −2 | Go to diff View file |
M | plugins/crosstracker/site-content/fr_FR/LC_MESSAGES/tuleap-crosstracker.po | +9 | −2 | Go to diff View file |
M | plugins/crosstracker/site-content/pt_BR/LC_MESSAGES/tuleap-crosstracker.po | +6 | −1 | Go to diff View file |