View Issue Details

IDProjectCategoryView StatusLast Update
0022762mantisbtapi restpublic2017-04-30 14:48
Reportervboctor Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityalways
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
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.

TagsNo tags attached.

Activities

Related Changesets

MantisBT: master 05977c0b

2017-04-22 04:15:19

vboctor

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