01.01.0001 is read as Start and Finish in Tasks but not in MS Project (C# .NET)

Hi,

we’ve noticed a problem were aspose tasks reads a different date (i.e. 01.01.0001) than what is being shown in MS Project.

MS Project:
grafik.png (9.2 KB)

Aspose Tasks:
Task: 0 Test GmbH - Start: 15.03.2019 08:00:00, Finish: 14.06.2019 17:00:00
Task: 1 Task 1 - Start: 01.01.0001 00:00:00, Finish: 01.01.0001 00:00:00
Task: 1.1 Task 1.1 - Start: 15.03.2019 08:00:00, Finish: 06.06.2019 17:00:00
Task: 1.1.1 Task 1.1.1 - Start: 15.03.2019 08:00:00, Finish: 06.06.2019 17:00:00
Task: 1.1.2 Task 1.1.2 - Start: 01.01.0001 00:00:00, Finish: 01.01.0001 00:00:00
Task: 1.1.3 Task 1.1.3 - Start: 01.01.0001 00:00:00, Finish: 01.01.0001 00:00:00
Task: 1.1.4 Task 1.1.4 - Start: 01.01.0001 00:00:00, Finish: 01.01.0001 00:00:00
Task: 1.1.5 Task 1.1.5 - Start: 01.01.0001 00:00:00, Finish: 01.01.0001 00:00:00
Task: 1.2 Task 1.2 - Start: 25.03.2019 08:00:00, Finish: 14.06.2019 17:00:00
Task: 1.2.1 Task 1.2.1 - Start: 01.01.0001 00:00:00, Finish: 01.01.0001 00:00:00
Task: 1.2.2 Task 1.2.2 - Start: 01.01.0001 00:00:00, Finish: 01.01.0001 00:00:00
Task: 1.2.3 Task 1.2.3 - Start: 01.01.0001 00:00:00, Finish: 01.01.0001 00:00:00
Task: 1.2.4 Task 1.2.4 - Start: 01.01.0001 00:00:00, Finish: 01.01.0001 00:00:00
Task: 1.2.5 Task 1.2.5 - Start: 01.01.0001 00:00:00, Finish: 01.01.0001 00:00:00
Task: 1.2.6 Task 1.2.6 - Start: 09.05.2019 08:00:00, Finish: 31.05.2019 17:00:00
Task: 1.2.7 Task 1.2.7 - Start: 01.01.0001 00:00:00, Finish: 01.01.0001 00:00:00
Task: 1.3 Task 1.3 - Start: 17.04.2019 08:00:00, Finish: 14.06.2019 17:00:00
Task: 1.3.1 Task 1.3.1 - Start: 17.04.2019 08:00:00, Finish: 17.04.2019 08:00:00
Task: 1.3.2 Task 1.3.2 - Start: 14.06.2019 17:00:00, Finish: 14.06.2019 17:00:00

I’ve attached the Project file in question: Test.zip (110.9 KB)

Thank you

@GEFE,

I have observed the issue information shared by you and request you to please first try using latest Aspose.Tasks for .NET 19.4 on your end. In case there is still an issue then please share the working sample code reproducing the issue on your end.

I’ve updated to 19.4. sadly the output is still the same.

The code is just reading the file and printing the name and dates:

private static void PrintAspose()
{
var license = new License();
// From Embedded Resource
license.SetLicense(“Aspose.Tasks.lic”);
var project = new Project(_path);
PrintA(project.RootTask, “”);
}

private static void PrintA(Task task, string indent)
{
Console.WriteLine($"{indent}Task: {task.Get(Tsk.WBS)} {task.Get(Tsk.Name)} - Start: {task.Get(Tsk.Start)}, Finish: {task.Get(Tsk.Finish)}");
indent = $"{indent} ";
for (var index = 0; index < task.Children.Count; index++)
{
var child = task.Children.ToList()[index];
PrintA(child, indent);
}
}

Thanks for your help

@GEFE,

Thank you for sharing the information with us. We are working over the issue and will get back to you with a feedback as soon as possible.

It’s been over two weeks now, any news on the issue? Have you been able to confirm it?

Regards

@GEFE,

I regret to share that at present the issue is still unresolved. We will share the good news with you as soon as as the issue will be fixed.

It has been over a month now, which is really disappointing.

Any news? Have you been able to confirm this bug?

@GEFE,

I regret to share that the issue specified is not yet resolved yet. Actually, in Aspose.Tasks forum the issues are selected for investigation on first come first serve basis. Also the first priority for scheduling and resolution is given to paid Enterprise and priority support customers. Then Aspose.Tasks normal or free support customers issues are scheduled and resolved on first come and first come serve basis. I will share the further information with you as soon as the issue will be resolved. I request for your patience.

The issues you have found earlier (filed as TASKSNET-3180) have been fixed in this update.