Hi guys,
I was trying to upgrade Aspose.Tasks library from 23.6 to 25.9 and found different behavior dealing with Finish field.
I tried the same code in different Aspose.Tasks versions and figured the different behavior starts happening from 25.2 version.
I’ve attached sample solution which shows the issue.
Could you have a look?
Thanks
AsposeTaskFinishDateIssue.zip (7.6 KB)
@sentientsoft
It appears you are encountering an issue with the Finish field in the Aspose.Tasks library after upgrading from version 23.6 to 25.9, particularly noting a change in behavior starting from version 25.2.
To resolve this, I recommend reviewing the release notes and known issues for the versions you are using. Changes in behavior may result from updates in how certain fields are calculated or managed.
If you have a sample solution that illustrates the issue, consider sharing it on the Aspose forum for more focused assistance from the community or the support team. They can provide insights based on the specific code and data you are working with.
If you have further questions or need additional assistance, please feel free to reach out!
I have attached a zip file that contains visual studio solution. You can see the bug behavior easily
@sentientsoft ,
thank you for the example. We need some time to investigate the issue.
@sentientsoft ,
the behavior of task recalculation was changed in 25.2.
2023-12-25 (and 2023-12-24) are non-working days.
Setting of task percent triggers recalculation of task dates which, in turn, adjusts task finish date to the nearest working day end.
Do you have a scenario where task finish date should be on non-working day?
Hi Vasiliy,
Thanks for the quick response.
No we happen to have a unit test that simply sets date and extract to update an object based on mpp file. The test scenario was setting 25th as finish date and it was failing after upgrade.
Change calculate makes sense.
Could you confirm that the same type of calculation happens in Microsoft Project?
For example, if I open and create a new project file using Microsoft Project, set the Finish date to be 25th, would Microsoft Project set the Finish date to be 22th (or nearest working day end)? I’d love to test it by myself but I don’t have Microsoft Project installed.
Thanks