DynamicValueUtility.ConvertXmlToDynamicValues should be aware of elements that accept dynamic values (Bug #232)

Added by Olivier Sannier about 5 years ago. Updated over 4 years ago.

Status:Closed Start date:12/06/2012
Priority:High Due date:
Assignee:Olivier Sannier % Done:


Category:- Spent time: -
Target version:1.9
Affected version:1.8.0


In order to avoid the ever coming bugs in DynamicValueUtility.ConvertXmlToDynamicValues where it does not count the children properly, I propose the following change:

Create an interface (IWithDynamicValuesItem?) that declares a property of type IDynamicValue[]
Make TaskBase and SourceControlBase implement that interface
Make DynamicValueUtility.ConvertXmlToDynamicValues aware of that interface so that when an item implements it, the generated dynamic value items are put as children of the item, not as children of the parent.

This will lead to a more readable output when there are lots of tasks inside other tasks.

I shall be able to submit a pull request for this in the upcoming days.


Updated by Ruben Willems about 5 years ago

  • Target version set to 1.8.4

Updated by Ruben Willems about 5 years ago

  • Affected version changed from 1.9 to 1.8.0

Updated by Ruben Willems over 4 years ago

  • Target version changed from 1.8.4 to 1.9

Updated by Ruben Willems over 4 years ago

  • Status changed from New to Closed

Also available in: Atom PDF