Incorrect values for start, finish and duration tasks for MPP file
Multi platform library to read and write schedule data
Brought to you by:
joniles
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.
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.