Thanks for the replies! > [Victor] The number of issues you can pull is dependent on how much member > is consumed by the PHP web service implementation and whether this hits the > limit set in the hosting environment for MantisBT.
Ah, okay. That makes sense. > You shouldn't get an error if there are less than > 50 items, if there is then it is a bug. Please confirm and provide your > MantisBT version. This is what I'm doing: $project_id = $m->mc_project_get_id_from_name($user, $pwd, $project); $all_issues = array(); for ($i = 1; $i <= 10; $i++) { try { $all_issues[] = $m->mc_project_get_issues($user, $pwd, $project_id, $i, 50); } catch (Exception $e) { break; } } I get an exception for $i == 4 (without the try/catch), even though we have more than 200 issues: PHP Fatal error: Uncaught SoapFault exception: [Client] looks like we got no XML document in /home/dirk/projects/mantis/MantisConnect.php:762 Stack trace: #0 /home/dirk/projects/mantis/MantisConnect.php(762): SoapClient->__call('mc_project_get_...', Array, Array) #1 /home/dirk/projects/mantis/mytest.php(28): MantisConnect->mc_project_get_issues('dhaun', 'man47tis', 5, 4, 50) #2 {main} thrown in /home/dirk/projects/mantis/MantisConnect.php on line 762 This is with Mantis 1.2.4. Looks like there were a few SOAP fixes in 1.2.5, but nothing that seems to be related to this behavior. >> Another question: I'm trying to find out who uploaded an attachment. >> That information doesn't seem to be available anywhere. Or am I >> missing something? > > [Victor] I don't believe we track this right now, it is not in the > database. As John pointed out, that information is available in the Issue History section of an issue. It just doesn't seem to be available via the SOAP API. bye, Dirk ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ mantisbt-help mailing list mantisbt-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mantisbt-help