View Issue Details

IDProjectCategoryView StatusLast Update
0013526mantisbtapi soappublic2013-04-06 08:19
Reportervboctor Assigned Torombert  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version1.2.8 
Target Version1.2.9Fixed in Version1.2.9 
Summary0013526: It is not possible to retrieve issues for 'All Projects'
Description

The mc_project_get_issues() returns "project doesn't exist" when it is passed 0 (ALL_PROJECTS) as the project id. This is because it internally uses project_exists() without first checking that the project is not ALL_PROJECTS.

We should search for all usage of project_exists() and make sure that the same issue doesn't apply to other APIs. For example, given that we now have global categories, we may want to add support for ALL_PROJECTS for such APIs.

TagsNo tags attached.

Relationships

related to 0015721 closedgrangeway Functionality to consider porting to master-2.0.x 
has duplicate 0013600 closedrombert It is not possible to retrieve issues for 'All Projects' 

Activities

belfar

belfar

2011-11-23 18:39

reporter   ~0030314

teste

rombert

rombert

2011-12-06 06:33

reporter   ~0030468

Victor, this is fixed for retrieving project issues and issue headers. Please file separate bugs for global categories, if needed.

grangeway

grangeway

2013-04-05 17:57

reporter   ~0036343

Marking as 'acknowledged' not resolved/closed to track that change gets ported to master-2.0.x branch

Related Changesets

MantisBT: master fe8e82a5

2011-12-05 22:25

rombert


Details Diff
Allow mc_project_get_{issues,issue_headers} to work with ALL_PROJECTS

Fixes 0013526: It is not possible to retrieve issues for 'All Projects'
Affected Issues
0013526
mod - api/soap/mc_project_api.php Diff File
mod - tests/soap/FilterTest.php Diff File

MantisBT: master-1.2.x ecf3eb75

2011-12-05 22:25

rombert


Details Diff
Allow mc_project_get_{issues,issue_headers} to work with ALL_PROJECTS

Fixes 0013526: It is not possible to retrieve issues for 'All Projects'
Affected Issues
0013526
mod - api/soap/mc_project_api.php Diff File
mod - tests/soap/FilterTest.php Diff File