|
From: Alexis D. <del...@gm...> - 2012-06-13 13:23:55
|
Hi Robert, even with real values, i get the same error. <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body><SOAP-ENV:Fault><faultcode xsi:type="xsd:string">Server </faultcode><faultactor xsi:type="xsd:string"></faultactor><faultstring xsi:type="xsd:string">Error Type: SYSTEM NOTICE, Error Description: Undefined offset: 1, Stack Trace: Arrayfilter_api.php L410 log_event(4, 'FILTERING: START NEW FILTER QUERY') mc_project_api.php L30 filter_get_bug_rows(1, 50, 0, 0, null, 457) UnknownFile L? mc_project_get_issues('XXX', 'XXX', 457, 1, 50) nusoap.php L3997 call_user_func_array('mc_project_get_issues', { [0] => 'XXX', [1] => 'XXX', [2] => 457, [3] => 1, [4] => 50 }) nusoap.php L3686 invoke_method() mantisconnect.php L1418 service('<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV=" http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1=" http://futureware.biz/mantisconnect" xmlns:xsd=" http://www.w3.org/2001/XMLSchema" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC=" http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle=" http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:mc_project_get_issues><usernamexsi:type="xsd:string">XXX</username><password xsi:type="xsd:string">XXX</password><project_id xsi:type="xsd:integer">457</project_id><page_number xsi:type="xsd:integer">1</page_number><per_page xsi:type="xsd:integer">50</per_page></ns1:mc_project_get_issues></SOAP-ENV:Body></SOAP-ENV:Envelope> ') </faultstring><detail xsi:type="xsd:string"></detail></SOAP-ENV:Fault> </SOAP-ENV:Body></SOAP-ENV:Envelope> 2012/6/13 Robert Munteanu <rob...@gm...> > Hi Alexis, > > On Wed, Jun 13, 2012 at 3:24 PM, Alexis Delecour > <del...@gm...> wrote: > > Hi, > > > > I am currently using Mantis 1.1.8 and its SOAP API. I have a hard time > > getting issues with mc_project_get_issues. > > If you're really using mc_project_get_issues with null parameters, try > setting them to real values, e.g. page = 1, issues_per_page = 50. > > Robert > > > > > Here is the result I get : > > > > Error Description: > > Undefined offset: 1, > > Stack Trace: > > Arrayfilter_api.php L410 log_event(4, 'FILTERING: START NEW FILTER > QUERY') > > mc_project_api.php L30 filter_get_bug_rows(null, null, 0, 0, null, 457) > > UnknownFile L? mc_project_get_issues('xxx', 'xxx', 457, null, null) > > nusoap.php L3997 call_user_func_array('mc_project_get_issues', { [0] > => > > 'xxx', [1] => 'xxx', [2] => 457, [3] => null, [4] => null }) > > nusoap.php L3686 invoke_method() > > mantisconnect.php L1418 service('<?xml version="1.0" > > encoding="UTF-8"?> > > > > The project Id exists and has issues. Do you have any ideas of where my > > problem came from? > > > > Thanks > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Mantisbt-soap-dev mailing list > > Man...@li... > > https://lists.sourceforge.net/lists/listinfo/mantisbt-soap-dev > > > > > > -- > Sent from my (old) computer > |