MSPDI Slack values not correctly set while loading
Multi platform library to read and write schedule data
Brought to you by:
joniles
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
Correction, specs report 10ths of MINUTE. (factor 100 difference).
Issue can be solved by replacing the call with the respective parseDuration....()
Apologies for the delay in responding. This is now fixed bythe code in GitHub and will form part of the next MPXJ release.