Menu

#157 Wrong duration saving project in XML format

1.9.1
open
nobody
xml (3) save (2)
Other
Other
Other
Win 10 Professional
Import/Export
Normal
2020-08-26
2019-06-03
No

I've imported an MS PROJECT file saved in XML, into ProjectLibre.
All objects: Tasks, Resources and duration was imported correctly.
Then I "save as" again the file in XML format (without using "save as", ProjectLibre save in "pod" format).
Reopening the project again, I discovered that the duration were all modified an greater than original.
I have attached a zip file containing the original XML and the saved XML.
Every help or suggestion will be appreciated.
Antonio

1 Attachments

Discussion

  • Morgan

    Morgan - 2019-11-12

    I have a similar issue that I think is related. All of my task durations have jumped up to 40 days, +/- a few hours/mins (seems random). All except the 0 day duration milestones. This is the same thing I see when I open the re-saved version of the OPs files. The strange thing is when I open up the tmp backup files, they are corrupted as well, but look ok in xml viewer. When I open the xml and resave as xml, the file changes drastically and increases in size from 600K to 2.2M

     
  • Morgan

    Morgan - 2019-11-12

    Update: It's not random. The<DurationFormat>tag seems to be set wrongly to 20 (elapsed percent) instead of 7 (days, I think). I created a file with multiple tasks starting at 1 day long and increasing by 1 day for each task. In the xml file it is saved as a duaration of 1H40M (100 mins), then 2 days is 3H20M (200mins) and so on, add in 100 mins per day to the time. Could it be adding 100% as mins? When it is reopened it then displays as
    1day as 38.903 days
    2 39.194
    3 39.372
    4 39.485
    5 39.599
    6 39.663
    7 39.72
    8 39.777
    9 39.834
    10 39.89
    11 39.926
    12 39.954
    13 39.983
    14 40.011
    15 40.04
    16 40.068
    17 40.096
    18 40.125
    19 40.153
    20 40.182

    Not sure how the numbers around 40 are arrived at, probably a misconversion due to <DurationFormat>mismatch. If you save and open the file again, the numbers are even more screwed up.

     

    Last edit: Morgan 2019-11-12

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.