Menu

#243 MSPDI Slack values not correctly set while loading

v1.0_(example)
closed-fixed
Jon Iles
None
7
2017-10-08
2014-06-17
No

The Slack values (Free, Total, etc) are not correctly set.
In the code it says: (MSPDIReader.class)
mpx.setTotalSlack(DatatypeConverter.parseDurationInThousanthsOfMinutes(xml.getTotalSlack()));

but the spec says it is in 10ths of a second:
http://msdn.microsoft.com/en-us/library/bb968632%28v=office.12%29.aspx

This causes incorrect values.

Tested with latest 4.5RC

Discussion

  • Rein de Boer

    Rein de Boer - 2014-06-17

    Correction, specs report 10ths of MINUTE. (factor 100 difference).
    Issue can be solved by replacing the call with the respective parseDuration....()

     
  • Jon Iles

    Jon Iles - 2017-10-08
    • status: open --> closed-fixed
    • assigned_to: Jon Iles
     
  • Jon Iles

    Jon Iles - 2017-10-08

    Apologies for the delay in responding. This is now fixed bythe code in GitHub and will form part of the next MPXJ release.

     

Log in to post a comment.

MongoDB Logo MongoDB