Known issue in RTC v5? Editing Process Config in Web Client strips per-attribute ValueProvider XML Configurations
Background:
I have specified a generic script-based ValueProvider that utilises the 'Configuration' argument to the getValue Method to pass in some XML-based parameters defined in the process configuration source per attribute.
Example of the ValueProvider Definition for 2 different attributes below.
For Attrib1: One set of 'behaviour' specified for the value provider
<attributeDefinition id="attrib.RelatedCRCause" name="Caused By CR" type="smallString">
<valueProvider providerId="com.ibm.team.workitem.valueproviders.VALUE_PROVIDER._rKOnMNSGEeS6V7Sqm0PgBw">
<behaviour appendto="End" checkdup="Yes" includelabel="No" separator=", " sourceattrib="com.hsbc.workitem.attribute.gsdIncidentCausedByChangeOrderString"/>
</valueProvider>
</attributeDefinition>
For Attrib2: A different 'Behaviour' set specified for the same value provider
<attributeDefinition id="com.hsbc.workitem.attribute.gsdIncidentCausedByChangeOrderString" name="GSD Caused By CR" type="mediumString">
<valueProvider providerId="com.ibm.team.workitem.valueproviders.VALUE_PROVIDER._rKOnMNSGEeS6V7Sqm0PgBw">
<behaviour appendto="Replace" includelabel="No" sourceattrib="attrib.RelatedCRCause" subsource=","/>
</valueProvider>
</attributeDefinition>
The '<behaviour>' tag and its properties comes in through the 'Configuration' parameter of the GetValue method in the script and I use that to govern script behaviour.
Now the Problem:
When I make any change to attributes using the v5.0.1 web client, it then kindly strips away this per-attribute customisation XML in my ValueProvider definitions, resulting in an updated definition like below:
<attributeDefinition id="attrib.RelatedCRCause" name="Caused By CR" type="smallString">
<valueProvider providerId="com.ibm.team.workitem.valueproviders.VALUE_PROVIDER._rKOnMNSGEeS6V7Sqm0PgBw"/>
</attributeDefinition>
This strikes me as a pretty serious flaw - making any attribute-related process configuration change in the web client destroys the correct behaviour of my project area.
Does anyone know if this is a know issue planned for fix?
Is it intended behaviour (with the intention to stop supporting such per-attribute XML customisations for ValueProviders)?
Thanks.
Comments
Donald Nong
Sep 18 '16, 9:42 p.m.Ryan Davidson
Sep 19 '16, 3:47 a.m.Donald Nong
Sep 20 '16, 2:00 a.m.Ryan Davidson
Sep 20 '16, 3:53 a.m.