View Issue Details

IDProjectCategoryView StatusLast Update
0023620mantisbtapi restpublic2017-11-10 02:20
ReportervboctorAssigned Tovboctor 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.8.0 
Target Version2.9.0Fixed in Version2.9.0 
Summary0023620: PHP error on getting issues when user doesn't have access
Description

If an issue is private and a reporter attempts to retrieve it, a PHP error is generated by the REST API.

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Related Changesets

MantisBT: master 0c99406e

2017-11-10 02:20:11

vboctor

Details Diff
Fix PHP error when retrieving inaccessible fields

An example is when a reporter attempts to retrieve a private issue.
There can be other errors that would trigger the same.

Fixes 0023620
mod - api/rest/restcore/issues_rest.php Diff File

Issue History

Date Modified Username Field Change
2017-11-10 02:19 vboctor New Issue
2017-11-10 02:19 vboctor Status new => assigned
2017-11-10 02:19 vboctor Assigned To => vboctor
2017-11-10 02:20 vboctor Changeset attached => MantisBT master 0c99406e
2017-11-10 02:20 vboctor Status assigned => resolved
2017-11-10 02:20 vboctor Resolution open => fixed
2017-11-10 02:20 vboctor Fixed in Version => 2.9.0