Menu

#255 Not all project calendars are read in for Project 2013 files

v1.0_(example)
closed-fixed
Jon Iles
None
7
2015-08-30
2015-01-06
CRod
No

All Project Calendars do not seem to be read consistently from mpp files created by Project 2013. For example: in the attached "2013-Main-Test-Small.mpp" only a single calendar is read; whereas by saving the same file in 2007 format MPXJ successfully reads 7 calendars.

ProjectReader reader = new MPPReader();
ProjectFile project = reader.read("2013-Main-Test-Small.mpp");
for (ProjectCalendar calendar : project.getCalendars()) {
System.out.println("Calendar: " + calendar.getName());
    // Only the single "Standard" calendar is read in as opposed to the 7 total calendars read from the 2007 file
}
2 Attachments

Discussion

  • CRod

    CRod - 2015-01-06

    To be more specific, the 2013 file read is MISSING calendars whereas the 2007 file read seems fine.

     
  • Jon Iles

    Jon Iles - 2015-08-30

    Thanks for the patch. It looks like I'd already fixed this... let me know if the code in Git doesn't work for you!

     
  • Jon Iles

    Jon Iles - 2015-08-30
    • status: open --> closed-fixed
    • assigned_to: Jon Iles
     

Log in to post a comment.

MongoDB Logo MongoDB