View Issue Details

IDProjectCategoryView StatusLast Update
0026693mantisbtapi restpublic2020-02-11 05:28
Reporterfman Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Summary0026693: Avoid to create invalid JSON response when locatization issues happen
Description

I've missed some label translations when adding new relationships types.
When using the getIssue method Mantis returns the json with issue data + warning messages that seem to be triggered by code in lang_api.php

IMHO if is not a crash, some error triggered needed to be different when error happens when a 'human being' is watching the screen, and when a API call is done, to avoid in the case of API call that other system break.
In my case json_decode() on content got from mantis fails
I've refactoring my code to provide a better error message in this situation

please let me know if you need more details.

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-02-11 05:28 fman New Issue