Menu

#235 MS Project 2013. All resources have "Material" property

v1.0_(example)
closed-fixed
nobody
5
2014-09-21
2013-10-31
No

After open and read filed of the MS Project 2013 with lastest Git version MPXJ, I've noteced that all resources have "Material" property.

I.e resource.getType() doesn't return ResourceType.WORK, but should return - see the attached file.

1 Attachments

Discussion

  • Anton Shutov

    Anton Shutov - 2013-11-21

    It seеms to me, I found a solution to the problem:

    Changes in a line (near number 2302) of the processResourceData() method in MPP14Reader.java:

    resource.setType((MPPUtility.getShort(data, (data.length < 172) ? 14 : 170) == 0 ? ResourceType.WORK : ((metaData2[8] & 0x10) == 0) ? ResourceType.MATERIAL : ResourceType.COST));

     
  • Jon Iles

    Jon Iles - 2014-09-21
    • status: open --> closed-fixed
     
  • Jon Iles

    Jon Iles - 2014-09-21

    I've applied a fix for this. The changes are available in Git, and will form part of the next MPXJ release.

     

Log in to post a comment.

MongoDB Logo MongoDB