View Issue Details

IDProjectCategoryView StatusLast Update
0022012mantisbtapi soappublic2017-02-26 21:18
Reporterstephen.leibbrandt Assigned Torombert  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Product Version1.3.3 
Summary0022012: mc_project_get_users soap call not returning correct data
Description

When retrieving the data using the mc_project_get_users() soap call, I am getting back only:
Array ( [0] => stdClass Object ( [id] => 610 [name] => staff.member1 ) [1] => stdClass Object ( [id] => 430 [name] => staff.member2 ) [2] => stdClass Object ( [id] => 613 [name] => staff.member3 )

instead of

stdClass Object( [id] => 610 [name] => staff.member1 [real_name] => staff member1 [email] => staff.member1@email.com ) stdClass Object ( [id] => 430 [name] => staff.member2 [real_name] => staff member2 [email] => staff.member2@email.com )

as retrieved in V1.2.15.

We have not changed any of the code except for printing out the array to troubleshoot and change the soap URL to the test URL

code we are using to retrieve is: $soapclient->mc_project_get_users('api.user',"api.pass",0,0);

names, username and passwords have been changed to examples.

Steps To Reproduce

call the method and it does not retrieve all the data.

Additional Information

Link to WSDL on what its meant to produce
api/soap/mantisconnect.php?wsdl#op.id0x144fd500

I have tried Version 1.3.3 and 1.3.4 and they both return the same error

TagsNo tags attached.

Activities

stephen.leibbrandt

stephen.leibbrandt

2016-12-06 06:41

reporter   ~0054696

We are in the process of upgrading from V1.2.15 to 1.3.x so we are on hold with the upgrade till we can get all issues resolved. if i find anymore bugs with the soap API, I'll log more tickets per issue.

stephen.leibbrandt

stephen.leibbrandt

2017-02-02 08:59

reporter   ~0055452

is there any further progress on this issue?

rombert

rombert

2017-02-14 16:35

reporter   ~0055679

Wow, sorry for not noticing the issue for such a long time.

Can you confirm that your api user has project levels of at least show_user_realname_threshold and show_user_email_threshold ? This was considered an information leak and fixed in 0017243

atrol

atrol

2017-02-25 15:20

developer   ~0055783

stephen.leibbrandt,

You did not provide any feedback; I am therefore resolving this issue as "no change required".

Feel free to reopen the issue at a later time and provide the requested information.