bardsoftware / ganttproject

Official GanttProject repository.
http://ganttproject.biz
GNU General Public License v3.0
890 stars 310 forks source link

Export MS Project - Tasks with more than one parents, the parent IDs are dropped #436

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. put some tasks to gantt project
2. make one task which have more than one parent tasks
3. export as *.mpx
4. open MS project an import the MPX
5. every task with one parent will be ok.
6. but on the task with more than one parent, the IDs from the parents are 
dropped.

What is the expected output? What do you see instead?
In the colum there should be the IDs from the parents.

What version of the product are you using? On what operating system?
Lates Beta 2.5 V RC2

Please provide any additional information below.

Original issue reported on code.google.com by jochen.g...@gmail.com on 17 Feb 2012 at 1:29

GoogleCodeExporter commented 9 years ago
Sorry, what do you mean when you say "more than one parent task"? Did you mean 
"more than one predecessor task" ?

Original comment by dbarashev on 17 Feb 2012 at 3:32

GoogleCodeExporter commented 9 years ago
Yes,  predecessor Is the the Correct Word.  Sorry.

Original comment by jochen.g...@gmail.com on 17 Feb 2012 at 3:37

GoogleCodeExporter commented 9 years ago
And what do you mean when you say "IDs from the predecessors are dropped" ? I 
just've created a project in GP with task1, task2, task3, so that task1 and 
task2 are predecessors of task3, exported to MPX and imported back to GP (no MS 
Project ta hand) --both dependencies are there. 

Original comment by dbarashev on 17 Feb 2012 at 7:10

GoogleCodeExporter commented 9 years ago
Hello again, Sorry for my missing words. 
i Mean dependencies with id's
i Open the mpx in ms Project 2010 and the dependencies are broken

Original comment by jochen.g...@gmail.com on 18 Feb 2012 at 1:56

GoogleCodeExporter commented 9 years ago
May I ask you to create in MS Project a file with a task with to predecessors, 
export it to MPX and attach it here? If you additionally verify that MS Project 
imports that MPX file back normally, that would be just perfect.

Original comment by dbarashev on 18 Feb 2012 at 12:54

GoogleCodeExporter commented 9 years ago
OK here we are...
I used the latest RC of Gantt (RC3) and MS Project 2010.

The predecessors get lost again and durations converted from days to hours.

here the files i created in gantt:
http://dl.dropbox.com/u/79075/Gantt/test%20gantt.gan
http://dl.dropbox.com/u/79075/Gantt/test%20gantt.mpx

looks like this in gantt:
http://dl.dropbox.com/u/79075/Gantt/test%20gantt.jpg

and this in msproject 2010:
http://dl.dropbox.com/u/79075/Gantt/test%20gantt%20in%20msproject%202010.JPG

and here are the msproject samples in different versions (sorry there is no 
*.mpx export. Only *.mpp and *.xml):
http://dl.dropbox.com/u/79075/Gantt/test%20msproject%202010.mpp
http://dl.dropbox.com/u/79075/Gantt/test%20msproject%202007.mpp
http://dl.dropbox.com/u/79075/Gantt/test%20msproject%202000-2003.mpp
http://dl.dropbox.com/u/79075/Gantt/test%20msproject%20xml.xml

Has original looks like that:
http://dl.dropbox.com/u/79075/Gantt/test%20msproject%202010.JPG

Original comment by jochen.g...@gmail.com on 20 Feb 2012 at 7:29

GoogleCodeExporter commented 9 years ago
are there any news to this issue?

Original comment by jochen.g...@gmail.com on 24 Feb 2012 at 1:34

GoogleCodeExporter commented 9 years ago
The problem is that MPX file produced by GanttProject is syntactically correct. 
For some reasons, MSProject doesn't parse it correctly, so it appears to be 
Microsoft's bug. That's why I would like to see MPX file with two predecessors 
which MS Project opens correctly. I thought that MS Project itself could create 
such file but apparently it can't save MPX.

So, why don't you try to export to Microsoft XML from GanttProject? My 
experiments were successful, it opened with two predecessors in MS Project

Original comment by dbarashev on 24 Feb 2012 at 7:32

GoogleCodeExporter commented 9 years ago
Issue 492 has been merged into this issue.

Original comment by dbarashev on 22 Apr 2012 at 8:28

GoogleCodeExporter commented 9 years ago
I am closing it as "Wont Fix" since it seems to be a bug in MS Project and we 
hardly can do anything with it, and there is a workaround: use MS XML format. 
Please let me know if you find an example of MPX file with two predecessors 
which opens correctly in MS Project.

Original comment by dbarashev on 27 Jan 2014 at 1:11