View Issue Details

IDProjectCategoryView StatusLast Update
0026195mantisbtapi restpublic2019-12-09 04:31
Reportercproensa Assigned Tocproensa  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version2.23.0 
Target Version2.23.0Fixed in Version2.23.0 
Summary0026195: Error requesting issues using saved filter

When the rest api is used to request issues matching an existing filter id, and that filter is saved for the user in a specific project, it returns an error.

For example,: A filter having id 9570 is saved in project 50:

Reason, the rest api executes query in the context of ALL_PROJECTS, eventhough the specific project id is passed as parameter. The error is because that filter is not available in the ALL_PROJECTS context.

TagsNo tags attached.


Related Changesets

MantisBT: master 5a9ea9bb

2019-09-26 03:58


Committer: dregad

Details Diff
Fix rest issues with project specific filter id

The current project must be set for correctly checking permissions and
retrieving the filter.

Fixes: 0026195
Affected Issues
mod - api/rest/restcore/issues_rest.php Diff File