View Issue Details

IDProjectCategoryView StatusLast Update
0015435mantisbtintegrationpublic2013-02-07 16:17
Reporteralex2012 Assigned Torombert  
PriorityhighSeverityminorReproducibilityalways
Status closedResolutionduplicate 
Product Version1.2.11 
Summary0015435: mylyn matins intergration fail
Description

i installed the mylyn-mantis-3.9.0,mantisbt-1.2.11 and myly 3.8, and then add respository in eclipse,
type "http://127.0.0.1:8887/mantisbt/api/soap/mantisconnect.php" into server input text,and type the userid,password,the click "validate settins" button,eclipse prompt following errors:
The repository has returned an unknow error,Most likely there is an error in the repository configuration:

Reason:
Error Type:SYSTEM NOTICE,
Error Description: Array to string conversion

Apache Server Error logs:
[Tue Jan 29 00:18:09.890625 2013] [:error] [pid 8136:tid 1112] [client 127.0.0.1:1363] [mantisconnect.php] Error Type: SYSTEM NOTICE,\nError Description: Array to string conversion\nStack Trace:\nnusoap.php L6132 mc_error_handler Params: (<string>'8', <string>'\'Array to string conversion\'', <string>'\'C:\\\\Program Files\\\\EasyPHP-12.1\\\\www\\\\mantisbt\\\\library\\\\nusoap\\\\nusoap.php\'', <string>'6132', <string>'array (\'name\' => \'return\', \'type\' => \'tns:ProjectDataArray\', \'value\' => array (0 => array (...)), \'use\' => \'encoded\', \'encodingStyle\' => FALSE, \'unqualified\' => FALSE, \'forceType\' => FALSE, \'v\' => array (\'id\' => 1, \'name\' => \'test\', \'status\' => array (...), \'enabled\' => \'1\', \'view_state\' => array (...), \'access_min\' => array (...), \'file_path\' => \'\', \'description\' => \'test\', \'subprojects\' => array (...)), \'xml\' => \'\', \'uqType\' => \'ProjectDataArray\', \'ns\' => \'http://futureware.biz/mantisconnect\', \'elementNS\' => \'\', \'contents\' => \'\', \'k\' => 0, \'typeDef\' => array (\'name\' => \'ProjectDataArray\', \'typeClass\' => \'complexType\', \'phpType\' => \'array\', \'compositor\' => \'\', \'restrictionBase\' => \'http://schemas.xmlsoap.org/soap/encoding/:Array\', \'elements\' => array (...), \'attrs\' => array (...), \'arrayType\' => \'http://futureware.biz/mantisconnect:ProjectData\'), \'phpType\' => \'array\', \'cols\' => \'\', \'rows\' => 1)')\nnusoap.php L5763 serializeType Params: (<string>'\'return\'', <string>'\'tns:ProjectDataArray\'', <string>'array (0 => array (\'id\' => 1, \'name\' => \'test\', \'status\' => array (...), \'enabled\' => \'1\', \'view_state\' => array (...), \'access_min\' => array (...), \'file_path\' => \'\', \'description\' => \'test\', \'subprojects\' => array (...)))', <string>'\'encoded\'', <string>'FALSE', <string>'')\nnusoap.php L4133 serializeRPCParameters Params: (<string>'\'mc_projects_get_user_accessible\'', <string>'\'output\'', <string>'array (0 => array (0 => array (...)))', <string>'')\nnusoap.php L3721 serialize_return()\nmantisconnect.php L1717 service Params: (<string>'\'<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><ns1:mc_projects_get_user_accessible soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://futureware.biz/mantisconnect"><username xsi:type="xsd:string">jian.gong</username><password xsi:type="xsd:string">111111</password></ns1:mc_projects_get_user_access...\'')\nmantisconnect.php L0 {main}()\n

Additional Information

i can be accessed "http://127.0.0.1:8887/mantisbt/api/soap/mantisconnect.php" via web browser.

TagsNo tags attached.

Relationships

duplicate of 0014157 closedrombert Array to string conversion error on soap request with PHP 5.4 

Activities

rombert

rombert

2013-01-28 11:33

reporter   ~0034936

Thanks for the report. You're using PHP 5.4 or newer, which is not supported by nusoap, our current PHP SOAP library.

You can either update to the latest version of MantisBT from git ( master-1.2.x branch ) or wait a couple of days for version 1.2.14 to be released. That will ensure that - when present - the native soap extension will be used and your problem will be solved.