When inporting a P6 XML file that has calendars with exceptions defined, those exceptions are not read correctly by the Tasks library.
The file below demonstrates these errors - there are various exceptions, some are non-working days and some are different working hours, but the CalendarExceptionsCollection property of the “Exceptions” calendar shows 26 CalendarException objects that are all identical.
- The ToDate shows 01/01/0001 00:00:00
- The number of calendar exceptions doesn't match the actual number of HolidayOrException nodes in the xml file
- Each CalendarException object is identical and seems to have the FromDate of the last exception defined in the xml file
- The WorkingTimes collection lists 5 WorkingTime objects that are all the same and none of them match the actual working times but instead seem to be set to the current date