-
Type:
Bug
-
Resolution: Not A Defect
-
Priority:
Blocker
-
Component/s: mantis-plugin
-
None
The verify button in the the system configuration works fine until i create a new mantis project.
Then the connection fails with the error:
Failed to connect http://sgdv01427/mantis/ (cause: Error Type: SYSTEM NOTICE,Error Description: Array to string conversion).
PHP logfile:
[25-Jul-2014 10:18:03 Europe/Paris] [mantisconnect.php] Error Type: SYSTEM NOTICE,
Error Description: Array to string conversion
Stack Trace:
nusoap.php L5763 serializeType(<string>'return', <string>'http://futureware.biz/mantisconnect:ProjectDataArray', <Array> { [0] => <Array> { ['id'] => 4, ['name'] => 'Jenkins', ['status'] => <Array> { ['id'] => '30', ['name'] => 'release' }, ['enabled'] => '1', ['view_state'] => <Array> { ['id'] => '50', ['name'] => 'private' }, ['access_min'] => <Array> { ['id'] => '10', ['name'] => 'viewer' }, ['file_path'] => '', ['description'] => '', ['subprojects'] => <Array> { } } }, <string>'encoded', <boolean>false)
nusoap.php L4133 serializeRPCParameters(<string>'mc_projects_get_user_accessible', <string>'output', <Array> { [0] => <Array> { [0] => <Array> { ['id'] => 4, ['name'] => 'Jenkins', ['status'] => <Array> { ['id'] => '30', ['name'] => 'release' }, ['enabled'] => '1', ['view_state'] => <Array> { ['id'] => '50', ['name'] => 'private' }, ['access_min'] => <Array> { ['id'] => '10', ['name'] => 'viewer' }, ['file_path'] => '', ['description'] => '', ['subprojects'] => <Array> { } } } })
nusoap.php L3721 serialize_return()
mantisconnect.php L114 service(<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">adm.g52614</username>
<password xsi:type="xsd:string">Jenkins</password>
</ns1:mc_projects_get_user_accessible>
</soapenv:Body>
</soapenv:Envelope>')