Book a Demo

Author Topic: Issue.DateResolved cannot be set to null by api  (Read 3403 times)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Issue.DateResolved cannot be set to null by api
« on: July 15, 2009, 10:22:06 pm »
When creating an issue through the automation interface
using following code:
Code: [Select]
EA.Issue defect = (EA.Issue)wrappedElement.Issues.AddNew("Defectname","Defect");
           wrappedElement.Update();
           defect.ElementID = parentElement.getID();
           defect.Update();
the "DateResolved" field is filled in with 0:00:00
This has as effect that in the GUI the date resolved is filled in with "30/12/1899" and the checkbox is checked.
When adding a defect through the GUI the field is left null.
It is however not possible to set the field to null using the API.

I've reported this as a bug to Sparx

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Issue.DateResolved cannot be set to null by ap
« Reply #1 on: July 27, 2009, 11:06:43 pm »
I've received a reply from our friends at Sparx support:

Quote
Hello Geert,

Thank you for your report.

We have been able to reproduce your issue and this will be investigated
further by our development team.

The reference number for this issue is 09072836.

Unfortunately we cannot provide any schedule for this fix as yet.  If
you wish to enquire regarding the status of this issue at a later time,
please quote the above reference number in your reply.

Best regards,