View Issue Details

IDProjectCategoryView StatusLast Update
0022762mantisbtapi restpublic2017-04-30 14:48
Reportervboctor Assigned Tovboctor  
Status closedResolutionfixed 
Product Version2.3.1 
Target Version2.4.0Fixed in Version2.4.0 
Summary0022762: 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.

TagsNo tags attached.


Related Changesets

MantisBT: master 05977c0b

2017-04-22 04:15:19


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

Issue History

Date Modified Username Field Change
2017-04-22 04:13 vboctor New Issue
2017-04-22 04:13 vboctor Status new => assigned
2017-04-22 04:13 vboctor Assigned To => vboctor
2017-04-22 04:16 vboctor Note Added: 0056653
2017-04-30 13:19 vboctor Changeset attached => MantisBT master 05977c0b
2017-04-30 13:19 vboctor Status assigned => resolved
2017-04-30 13:19 vboctor Resolution open => fixed
2017-04-30 13:19 vboctor Fixed in Version => 2.4.0
2017-04-30 13:22 vboctor Target Version 2.3.2 => 2.4.0
2017-04-30 14:48 vboctor Status resolved => closed