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|
|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|
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
|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.`
|mod - api/soap/mc_issue_api.php||Diff File|