Menu

#351 Incorrect values for start, finish and duration tasks for MPP file

v1.0_(example)
closed-fixed
Jon Iles
None
5
2024-10-17
2024-10-14
No

We have:
1. Activity with only name and finish date (In mpp attached , task „Stakeholder 2„)
2. Activity with only name and start date (In mpp attached, task„Stakeholder 3„)
3. Activities with only name and duration (In mpp attached, task„Only Duration„)

The getFinish() and getStart() is returning this values filled, even the file does not contain this kind of values, so we have wrong durations also because of the filled values. These values are expected to be blank.

3 Attachments

Discussion

  • Jon Iles

    Jon Iles - 2024-10-16
    • status: open --> pending
    • assigned_to: Jon Iles
     
  • Jon Iles

    Jon Iles - 2024-10-17

    I've made some changes to MPXJ to accommodate this. The notes on this pull request https://github.com/joniles/mpxj/pull/762 give some more details. In sumary, there rae new task methods, getShowStartText, getShowFinishText and getShowDurationText, which you can use to determine if you show the normal attribute (e.g. Start) or the text attribute (e.g. StartText). This should give you the output you expect.

     
  • Jon Iles

    Jon Iles - 2024-10-17
    • status: pending --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB