due_date is omitted when adding issue via SOAP

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
chadmiss
Posts: 5
Joined: May 04, 2017 5:05 am

due_date is omitted when adding issue via SOAP

Post by chadmiss »

(using Mantis 2.5.2)
we are using the SOAP/WSDL-wrapping from Visual Studio.

when adding an issue via soap (mc_issue_add) the due_date doesn't arrive. There are no problems with any other field.
it's already missing in the XML-request that arrives at mantisconnect.php

the strange thing is, that it works in mc_issue_update. the IssueData object is almost the same and the DateTime for due_date is exactly (at least it seems to be) the same object as in mc_issue_add.

I'm really puzzled about this. Do you guys have any ideas?

rombert
Posts: 66
Joined: Nov 05, 2009 3:43 am

Re: due_date is omitted when adding issue via SOAP

Post by rombert »

It's strange that it's missing in the request. If you look at the WSDL - https://www.mantisbt.org/bugs/api/soap/ ... 0x2e735380 - the field is there.

chadmiss
Posts: 5
Joined: May 04, 2017 5:05 am

Re: due_date is omitted when adding issue via SOAP

Post by chadmiss »

my guess is, that the WSDL-wrapper of visual studio drops that field but I have no access to debug that deep

I wonder if this has something to do with https://github.com/mantisbt/mantisbt/pull/1036

chadmiss
Posts: 5
Joined: May 04, 2017 5:05 am

Re: due_date is omitted when adding issue via SOAP

Post by chadmiss »

as far as we found out there is an extra undocumented field "due_dateSpecified" which has to be set to true. then the due_date is accepted

Post Reply