View Issue Details

IDProjectCategoryView StatusLast Update
0024327mantisbtapi soappublic2018-04-19 05:05
ReporterRuzhelovich VladimirAssigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status acknowledgedResolutionopen 
Platform2.8.0OSUbuntuOS Version16.04.3 LTS
Product Version2.12.0 
Target VersionFixed in Version 
Summary0024327: "handler" attribute is mandatory in mantisconnect.wsdl, but the system does not enforce it
Description

the "handler" attribute (handler_id) is described as mandatory in the mantisconnect.wsdl file, although this field is not mandatory in the system

I suggest either returning either "-1" or empty to make this field optional.

Additional Information

<pre>
<xsd:complexType name="IssueData">
<xsd:all>
<xsd:element name="id" type="xsd:integer" minOccurs="0"/>
<xsd:element name="view_state" type="tns:ObjectRef" minOccurs="0"/>
<xsd:element name="last_updated" type="xsd:dateTime" minOccurs="0"/>
<xsd:element name="project" type="tns:ObjectRef" minOccurs="0"/>
<xsd:element name="category" type="xsd:string" minOccurs="0"/>
<xsd:element name="priority" type="tns:ObjectRef" minOccurs="0"/>
<xsd:element name="severity" type="tns:ObjectRef" minOccurs="0"/>
<xsd:element name="status" type="tns:ObjectRef" minOccurs="0"/>
<xsd:element name="reporter" type="tns:AccountData" minOccurs="0"/>
<xsd:element name="summary" type="xsd:string" minOccurs="0"/>
<xsd:element name="version" type="xsd:string" minOccurs="0"/>
<xsd:element name="build" type="xsd:string" minOccurs="0"/>
<xsd:element name="platform" type="xsd:string" minOccurs="0"/>
<xsd:element name="os" type="xsd:string" minOccurs="0"/>
<xsd:element name="os_build" type="xsd:string" minOccurs="0"/>
<xsd:element name="reproducibility" type="tns:ObjectRef" minOccurs="0"/>
<xsd:element name="date_submitted" type="xsd:dateTime" minOccurs="0"/>
<xsd:element name="sponsorship_total" type="xsd:integer" minOccurs="0"/>
<b><xsd:element name="handler" type="tns:AccountData" minOccurs="0"/></b>
<xsd:element name="projection" type="tns:ObjectRef" minOccurs="0"/>
<xsd:element name="eta" type="tns:ObjectRef" minOccurs="0"/>
<xsd:element name="resolution" type="tns:ObjectRef" minOccurs="0"/>
<xsd:element name="fixed_in_version" type="xsd:string" minOccurs="0"/>
<xsd:element name="target_version" type="xsd:string" minOccurs="0"/>
<xsd:element name="description" type="xsd:string" minOccurs="0"/>
<xsd:element name="steps_to_reproduce" type="xsd:string" minOccurs="0"/>
<xsd:element name="additional_information" type="xsd:string" minOccurs="0"/>
<xsd:element name="attachments" type="tns:AttachmentDataArray" minOccurs="0"/>
<xsd:element name="relationships" type="tns:RelationshipDataArray" minOccurs="0"/>
<xsd:element name="notes" type="tns:IssueNoteDataArray" minOccurs="0"/>
<xsd:element name="custom_fields" type="tns:CustomFieldValueForIssueDataArray" minOccurs="0"/>
<xsd:element name="due_date" type="xsd:string" minOccurs="0"/>
<xsd:element name="monitors" type="tns:AccountDataArray" minOccurs="0"/>
<xsd:element name="sticky" type="xsd:boolean" minOccurs="0"/>
<xsd:element name="tags" type="tns:ObjectRefArray" minOccurs="0"/>
</xsd:all>
</xsd:complexType>
</pre>
<pre>
<xsd:complexType name="IssueHeaderData">
<xsd:all>
<xsd:element name="id" type="xsd:integer"/>
<xsd:element name="view_state" type="xsd:integer"/>
<xsd:element name="last_updated" type="xsd:dateTime"/>
<xsd:element name="project" type="xsd:integer"/>
<xsd:element name="category" type="xsd:string"/>
<xsd:element name="priority" type="xsd:integer"/>
<xsd:element name="severity" type="xsd:integer"/>
<xsd:element name="status" type="xsd:integer"/>
<xsd:element name="reporter" type="xsd:integer"/>
<xsd:element name="summary" type="xsd:string"/>
<b><xsd:element name="handler" type="xsd:integer"/></b>
<xsd:element name="resolution" type="xsd:integer"/>
<xsd:element name="attachments_count" type="xsd:integer"/>
<xsd:element name="notes_count" type="xsd:integer"/>
</xsd:all>
</xsd:complexType>
</pre>

TagsNo tags attached.

Activities

Ruzhelovich Vladimir

Ruzhelovich Vladimir

2018-04-18 23:50

reporter   ~0059601

the "handler_id" attribute is described as mandatory in the mantisconnect.wsdl file, although this field in the system is not mandatory

Ruzhelovich Vladimir

Ruzhelovich Vladimir

2018-04-19 00:04

reporter   ~0059602

The problem is connected with the line:

<pre>
<xsd:complexType name="IssueHeaderData">
......
<xsd:element name="reporter" type="xsd:integer"/>
.....
</pre>

Ruzhelovich Vladimir

Ruzhelovich Vladimir

2018-04-19 00:19

reporter   ~0059603

In our configuration, I changed this line to:

<xsd: element name = "handler" type = "xsd: integer" nillable = "true" />

Ruzhelovich Vladimir

Ruzhelovich Vladimir

2018-04-19 05:05

reporter   ~0059606

no, it does not work



2.png (15,366 bytes)
2.png (15,366 bytes)
1.png (13,598 bytes)
1.png (13,598 bytes)

Issue History

Date Modified Username Field Change
2018-04-18 23:48 Ruzhelovich Vladimir New Issue
2018-04-18 23:48 Ruzhelovich Vladimir Issue generated from: 0024110
2018-04-18 23:50 Ruzhelovich Vladimir Note Added: 0059601
2018-04-19 00:04 Ruzhelovich Vladimir Note Added: 0059602
2018-04-19 00:19 Ruzhelovich Vladimir Note Added: 0059603
2018-04-19 04:43 dregad Status new => acknowledged
2018-04-19 04:43 dregad Summary the "handler" attribute (handler_id) is described as mandatory in the mantisconnect.wsdl file, although this field in the system => "handler" attribute is mandatory in mantisconnect.wsdl, but the system does not enforce it
2018-04-19 04:43 dregad Description Updated View Revisions
2018-04-19 05:05 Ruzhelovich Vladimir File Added: 2.png
2018-04-19 05:05 Ruzhelovich Vladimir File Added: 1.png
2018-04-19 05:05 Ruzhelovich Vladimir Note Added: 0059606