I was able to reproduce this issue at my end using the latest version of Aspose.Tasks for Java 7.0.0 and have logged it as TASKS-33761 in our issue tracking system for further investigation by our development team. Once there is any information available in this regard, I'll update you here via this thread.
All the issues mentioned on this post are logged under the same ID. Its ticket is already linked with this post, thus you will be automatically notified in case of any feedback on this issue.
The issue has been marked as duplicate to TASKS-33746 (Implement Field Aliases Rendering when Saving Project Views) which has already been implemented and will be part of our upcoming version of Aspose.Tasks for Java 7.1.0. We’ll notify you here once there is some update available in this regard.
The issue has already been fixed and will be available in Aspose.Tasks for Java 7.1.0. However, I am afraid that the early build is not ready yet to be provided. Once we have the fix version available, we’ll update you here via this thread and appreciate your cooperation in this regard.
I have tested your sample file with the latest version of Aspose.Tasks for Java 7.1.0 and found that only the issue No.4 still exists. I have attached the screenshot of Source MPP and output PDF file here for your reference. Can you please verify if you are using this latest version at your end? Meanwhile, I have contacted our development team regarding the issue No.4 and will soon share our feedback with you here.
Could you please create a new test project and re-test this issue with it using this latest version? I have cross-checked it on another system as well and the output is as expected. Please see the attached PDF file here for your kind reference and let us know your feedback.
Sample Code:
String dir = “573358\”;
Project project = new Project(dir + “Customizing a Project Plan_Arun.mpp”);
project.save(dir + “Customizing a Project Plan_Arun - AT 7.1.0.pdf”, SaveFileFormat.PDF);
Yes I am able to generate the correct output now, I lately realized that there was a code in my project to set the default view to Task Sheet view (I think I added it very recently while experimenting something) due to which I wasn’t getting the desired output. Sorry for confusion.
Regarding issue #4, how are we planning to track it … are you going to file a separate bug or something ?
The issue #4 has been logged as TASKS-33790 in our issue tracking system for further investigation by our development team. The difference will soon be investigated and we’ll notify you here once there is some update available in this regard.
PS: The Recalculation of overallocated flags when reading from mpp/xml are defined on MinuteByMinute LevelPeriodBasis (Application.LevelPeriodBasis Property)