Significant progress … many thanks!!!
I am able to create an MPP w/o errors. The MPP still needs the extended attributes for tasks and resources and some data for the time phased data for assignments.
Nice work.
Here is the data I’m providing:
Saved MPP file
XML version from the MPP
Saved XML file (exactly the same as the MPP file).
I then compared the two XML files and found the files to align very nicely.
Once the extended attributes are in place, I’ll be able to do a round trip. And start to test in more detail.
Many thanks! Regards, Bruce
Hi Bruce,
Hi,
I have provided:
1) The MPP file created by the application (EventDP2_MPP_RT_000.MPP)
2) The XML file created when I saved the MPP file using MS Project (EventDP2_MPP_RT_000_FROM_MPP.xml)
3) The XML file created by the application (from exactly the same data) … (EventDP2_MPP_RT_000.XML)
If you look at the MPP file, you will see the file created by Aspose.Tasks.
If you do a file compare between the XML created directly and the XML saved by MS Project. you will see the missing extended attributes and any other differences. (I use Altova DiffDog)
I have already provided the code used in my application. It has not changed. The XML file (EventDP2_MPP_RT_000.XML) does open in MS Project and does have recognized extended attributes. So I assume that my code is working ok. (the same code made the MPP file).
If you need any other information, please let me know.
Regards, Bruce
Hi Bruce,
Thank you for the feedback.
To further analyze the issue, I used the code that you shared earlier to generate MPP and XML files and then saved the MPP as XML using MSP. I observed that this code generates 4 tasks only and there were some differences in the extended attributes information. It seems that you have used some different code to generate the files as these contain a total of 121 tasks and the data is too huge to compare and observe the differences.
We would request you to please confirm us if the code you used for reporting this issue is the same as shared earlier? Moreover, if you could please refer some specific extended attributes for missing information, that will help us investigate the issue quickly and assist you further. If possible, a screenshot of both the files side by side with differences highlighted will be of great help to us. We will look into this as soon as possible and report it to our development team for further investigation.
Hi,
I am using my application (a product based planning tool) and the typical sample that I use for training. 121 tasks is a small plan. I’m happy to provide my application for your testing.
I’m surprised you don’t have an XML comparison tool. Altova DiffDog works fine on much larger plans.
I’ve updated the three tasks (simple test case) and same problem. I’ve added a line to write out the extended attributes for each task
you will see that the XML output contains the extended attributes. You will also see that the XML saved by MS Project does not contain the extended attributes. When I read in the MPP file into the application, the extended attributes are missing.
You will also notice that there are many other differences between the two xml files created by the application. I will investigate every difference once I can read / write the MPP files.
Regards, Bruce
Hi Bruce,
The issues you have found earlier (filed as TASKS-33216) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.