bardsoftware / ganttproject

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

MS Project: public holidays are exported as working days #811

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add "public holidays"
2. Export "MS Project XML format".
3. Read XML file in MS Project 2007.

What is the expected output? What do you see instead?
- Start & End dates are not correct.

What version of the product are you using? On what operating system?
- Product : ver 2.6.1 Brno (build 1499)
- OS : Windows7 (Korean)

Please provide any additional information below.

I think that "DayWorking" tag is not correct.
When I changed the value of DayWorking from 1 to 0, it is OK.
The following code is the parts of original XML file.

<WeekDay>
  <DayType>0</DayType>
  <DayWorking>1</DayWorking>
  <TimePeriod>
    <FromDate>2013-07-29T00:00:00</FromDate>
    <ToDate>2013-07-29T23:59:00</ToDate>
  </TimePeriod>
  <WorkingTimes>
    <WorkingTime>
      <FromTime>00:00:00</FromTime>
      <ToTime>00:00:00</ToTime>
    </WorkingTime>
  </WorkingTimes>
</WeekDay>

Original issue reported on code.google.com by sekj...@gmail.com on 9 Jul 2013 at 12:31

GoogleCodeExporter commented 9 years ago
Can you share and example GP file and expected result (screenshot how it looks 
in MS Project maybe) ?

Original comment by dbarashev on 9 Jul 2013 at 12:15

GoogleCodeExporter commented 9 years ago
Holidays are 7/29~8/2, 8/15~8/15.

Refer to the attached files.

Original comment by sekj...@gmail.com on 10 Jul 2013 at 3:58

Attachments:

GoogleCodeExporter commented 9 years ago
I uploaded the GP file & capture file on MS Project at GanttProject site.

Original comment by sekj...@gmail.com on 10 Jul 2013 at 4:01

GoogleCodeExporter commented 9 years ago
So the problem is that tasks which overlap public holidays have wrong dates 
after export?

Original comment by dbarashev on 10 Jul 2013 at 7:44

GoogleCodeExporter commented 9 years ago
Yes.
When export, <DayWorking> of pubilc holidays is set to 1.

When I changed <DayWorking> from 1 to 0 by text editor, tasks are not
overlapped in MS Project.

Original comment by sekj...@gmail.com on 10 Jul 2013 at 11:33

GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 years ago
This issue was closed by revision d319637d7b33.

Original comment by dbarashev on 28 Jan 2014 at 11:54

GoogleCodeExporter commented 9 years ago

Original comment by dbarashev on 10 Feb 2014 at 10:36

GoogleCodeExporter commented 9 years ago

Original comment by dbarashev on 22 Sep 2014 at 12:20