Menu

#29 Project start date cannot be set explicitly

closed-fixed
Jon Iles
None
5
2021-07-12
2014-04-17
No

In exported file, project start date is always auto-computed from all the tasks. This is a good default, but not correct in all cases. For example, you may want to start your project on 01.01.2015, but one "preparational" task is to begin on 15.12.2014. This is possible to do with MS Project, but not possible in MPXJ: when such a project is imported, all "free flow" tasks begin on 15.12.2014 too, because that is set as project start date.

Request: add ProjectFile.setStartDate(). Unless this is explicitly called, getStartDate() behaves just as now; else it trusts the caller and returns the explicit date.

Discussion

  • Paul Pogonyshev

    Paul Pogonyshev - 2014-04-29

    A simple patch.

     
  • Jon Iles

    Jon Iles - 2021-07-12

    Just doing some housekeeping. I've renamed the method on ProjectFile to make it clearer that they are simply calculating the earliest and latest dates. ProjectFile has attributes representing the project start and finish dates, which can be manually set, or if not manually set will fall back on the earliest and latest dates in the project.

     
  • Jon Iles

    Jon Iles - 2021-07-12
    • status: open --> closed-fixed
    • assigned_to: Jon Iles
     

Log in to post a comment.

MongoDB Logo MongoDB