Imho you should strip away things like "password".

Change By: Alexandru Gheorghe (01/Oct/14 9:19 PM)
Description: The verify button in the the system configuration works fine until i create a new mantis project.

Then the connection fails with the error:
{noformat}
Failed to connect http://sgdv01427/mantis/ (cause: Error Type: SYSTEM NOTICE,
Error Description: Array to string conversion).
{noformat}

PHP logfile:
{noformat}
[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>')

{noformat}
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to