Page 1 of 1

due_date is omitted when adding issue via SOAP

Posted: 13 Oct 2017, 10:03
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?

Re: due_date is omitted when adding issue via SOAP

Posted: 16 Oct 2017, 18:30
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.

Re: due_date is omitted when adding issue via SOAP

Posted: 17 Oct 2017, 07:55
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

Re: due_date is omitted when adding issue via SOAP

Posted: 13 Mar 2018, 08:11
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