Skip to content

Commit

Permalink
PMXML: include resource type in assignment data (#686)
Browse files Browse the repository at this point in the history
  • Loading branch information
joniles authored Apr 16, 2024
1 parent 755426e commit e728ded
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/changes/changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
</properties>
<body>
<release date="unreleased" version="12.9.1">
<action dev="joniles" type="update">Ensure `UniversalProjectReader` handles unknown file types correctly without raising an exception.</action>
<action dev="joniles" type="update">Fix an issue where `UniversalProjectReader` would raise an exception when handling an unknown file type.</action>
<action dev="joniles" type="update">Ensure that the resource type is included as part of the resource assignment data when writing PMXML files.</action>
</release>
<release date="2024-04-11" version="12.9.0">
<action dev="joniles" type="update">Updated `UniversalProjectReader` to add `getProjectReaderProxy` methods to allow access to the instance of the reader class which will be used to read a schedule, prior to the schedule being read. This will allow the reader to be configured, or schedule to be ignored without reading its content.</action>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1178,6 +1178,7 @@ private void writeAssignment(ResourceAssignment mpxj)
xml.setCostAccountObjectId(mpxj.getCostAccountUniqueID());
xml.setRemainingStartDate(mpxj.getRemainingEarlyStart());
xml.setRemainingFinishDate(mpxj.getRemainingEarlyFinish());
xml.setResourceType(ResourceTypeHelper.getXmlFromInstance(mpxj.getResource().getType()));

PmxmlUnitsHelper unitsHelper = new PmxmlUnitsHelper(mpxj);
xml.setPlannedUnits(unitsHelper.getPlannedUnits());
Expand Down

0 comments on commit e728ded

Please sign in to comment.