When generating the DITA change paper for in-flight branch CR1903, to include data set definitions, the DITA output contains duplicate topics for Attributes which prevents the DITA from being transformed into a PDF.
Steps to replicate
Make sure you have the CR1903 branch ingested.
Sign in to the Orchestrator
Select the CR1903 branch, click the "Publish" tab
Click the generate button next to "Generate change paper (with Data Set definitions)"
Open the DITA output in OxygenXML and view the changes.dita file
Expected behaviour
The DITA output should be valid and OxygenXML should be able to transform it into PDF.
Additional details
The topic elements for Attributes seem to have duplicate ids e.g. attribute_record_identifier appears multiple times. There should only be one copy.
Look at the code in ChangePaper.calculateChanges(), this should be where the "Changed data set" changes are added.
Overview
When generating the DITA change paper for in-flight branch CR1903, to include data set definitions, the DITA output contains duplicate topics for Attributes which prevents the DITA from being transformed into a PDF.
Steps to replicate
changes.dita
fileExpected behaviour
The DITA output should be valid and OxygenXML should be able to transform it into PDF.
Additional details
The topic elements for Attributes seem to have duplicate ids e.g.
attribute_record_identifier
appears multiple times. There should only be one copy.Look at the code in
ChangePaper.calculateChanges()
, this should be where the "Changed data set" changes are added.