View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0022762 | mantisbt | api rest | public | 2017-04-22 04:13 | 2017-04-30 14:48 |
Reporter | vboctor | Assigned To | vboctor | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 2.3.1 | ||||
Target Version | 2.4.0 | Fixed in Version | 2.4.0 | ||
Summary | 0022762: Bug in error handling when user doesn't have access level to handle issue | ||||
Description | The error message shows user0 instead of actual user who can't be assigned the issue. This also applies to both SOAP and REST APIs. | ||||
Tags | No tags attached. | ||||
MantisBT: master 05977c0b 2017-04-22 00:15 Details Diff |
Fix error message when user can’t handle issues The access denied reason was passed in instead of user id, causing error message to show user id of 0 and no reason. The fix was to pass the user id then reason. Also changed reason messages to not re-reference the user id, but just focus on reason. Messages will look as follows: `Access denied for vboctor. Reason: User does not have access right to handle issues.` Fixes 0022762 |
Affected Issues 0022762 |
|
mod - api/soap/mc_issue_api.php | Diff File |