Difference when updating project work completed up to the specified date

Hi,

When using the method UpdateProjectWorkAsComplete (Aspose.Tasks for .NET) the value calculated for the “% work complete” is different than that calculated using the Update Project option inside Microsoft Project. The “% complete” value is being calculated correctly.

Example file:
TESTES.zip (33.8 KB)

Using the following code:

Project project = new Aspose.Tasks.Project(@"C:\temp\TESTE.mpp");
project.UpdateProjectWorkAsComplete(new DateTime(2018, 11, 18), false);
project.Save(@"C:\temp\UPDATED.mpp", SaveFileFormat.MPP);

The result is this:
image.png (46.4 KB)

Using the native option from MS Project, updating to the same date, this is the result:
image.png (48.7 KB)

I don’t know if this is a bug or if I am doing something wrong.

We tested with versions 17.9 and 18.11 both produced the same results.

Thanks for your help,
Igor

@igor.klafke

Thank you for contacting us.
We have reproduced this issue and it has been logged with ID “TASKSNET-2851” for further investigation. You will automatically be informed here once we have more information to share.

Hi,
Do you have any news about this issue?

Thanks,
Igor

@igor.klafke

We are working on this issue and it is still under investigation. This shall be resolved in our next release i.e Aspose.Tasks for .NET 19.01.

@MuzammilKhan

Hi, any updates? There is already a 19.2 version and this issue was not addressed yet.

Thanks.

@igor.klafke,

I have observed your comments and like to inform that issue is still in process and we will share good news with you soon.

The issues you have found earlier (filed as Saltov Redmine) have been fixed in this update.
Release notes can be found here.