Batch configurations containing multiple references files don't install correctly
Issue #731
resolved
If a batch configuration is created for a pipeline that includes multiple steps that user references files the referenced files for different steps can get mixed up when the batch configuration is installed.
For example:
<?xml version="1.0" encoding="UTF-8"?>
<rainbowPipeline version="1">
<step class="....steps.xsltransform.XSLTransformStep">#v1
xsltPath=copySourceToTarget.xslt
...
</step>
<step class="....steps.common.RawDocumentToFilterEventsStep"></step>
<step class="....steps.segmentation.SegmentationStep">#v1
sourceSrxPath=SourceSRXRules.srx
targetSrxPath=TargetSRXRules.srx
...
</step>
<step class="....steps.rainbowkit.creation.ExtractionStep">#v1
....
</step>
</rainbowPipeline>
The installed pipeline will look something like:
<?xml version="1.0" encoding="UTF-8"?>
<rainbowPipeline version="1">
<step class="....steps.xsltransform.XSLTransformStep">#v1
xsltPath=SourceSRXRules.srx
...
</step>
<step class="....steps.common.RawDocumentToFilterEventsStep"></step>
<step class="....steps.segmentation.SegmentationStep">#v1
sourceSrxPath=SourceSRXRules.srx
targetSrxPath=TargetSRXRules.srx
...
</step>
<step class="....steps.rainbowkit.creation.ExtractionStep">#v1
....
</step>
</rainbowPipeline>
The referenced files of the second step get assigned to the parameters of the first step.
Comments (4)
-
reporter -
- changed status to resolved
fix
#731- Batch configurations containing multiple references files→ <<cset a6f5106aa00e>>
-
Merged in adobeg11n/okapi/fix-bconf-reference-files (pull request #249)
fix
#731- Batch configurations containing multiple references filesApproved-by: Chase Tingley tingley+atlassian@gmail.com
→ <<cset dfb47d46afed>>
-
- Log in to comment
Please review pull request #249
It includes the test case to recreate the problem