View Issue Details

IDProjectCategoryView StatusLast Update
0023709mantisbtapi soappublic2018-01-30 06:55
Reportermantisiator Assigned Toatrol  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Product Version2.8.0 
Summary0023709: mc_issue_add() function using custom fields generates "Violation of encoding rules error" message
Description

Hello,
When calling the following xml file via curl, a Violation of encoding rules error message is generated.
I can therefore not input custom fields data via the soap api. Other fields are OK (ie a request without custom fields).

xml file including the request:

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body>
<mc_issue_add xmlns="http://mysite.fr/api/soap/mantisconnect/"><username>Myuser</username><password>Mypassword'</password>
<issue>
<project><id>12</id></project>
<description>log:savedLogs
 Mydescription</description>
<summary>Mysummary</summary>
<custom_fields><item><field><id>46</id></field><value><item>Myitem</item></value></item></custom_fields>
</issue>
</mc_issue_add></soap:Body></soap:Envelope>
TagsNo tags attached.

Activities

mantisiator

mantisiator

2018-01-18 03:54

reporter   ~0058556

Hi,
The problem could no be reproduced in 2.9.0 version and can be closed

atrol

atrol

2018-01-18 04:02

developer   ~0058558

Thanks @mantisiator for letting us know.