Improve "Drop down list with values from input arrays" to keeps latest successfully selected array name
Hi,
The actual behavior of the "Drop down list with values from input arrays" is to reset back to "None" when a previously selected array isn't present anymore in the input. This is causing a lot of pain:
This actual painful scenario:
- Initial condition. A pipeline contains the source A and filter B. A is the input of B. B has a "Drop down list with values from input arrays" that is link to the ArrayA generated by the source A.
- Error event The source A has an error and doesn't generate the ArrayA array. The "Drop down list with values from input arrays" of B is reset to its default value "None"
- Error is corrected. The source A is now able to generate the ArrayA array. However, the "Drop down list with values from input arrays" of B is set to None and might generate an error because it needs an array, the filter B thus generate an Error.
One error can completely destabilize a statefile, the process of fixing all the "Drop down list with values from input arrays" links is a real pain.
Desired Scenario:
- Initial condition. A pipeline contains the source A and filter B. A is the input of B. B has a "Drop down list with values from input arrays" that is link to the ArrayA generated by the source A.
- Error event The source A has an error and doesn't generate the ArrayA array. The "Drop down list with values from input arrays" of B is kept to the ArrayA value (but might indicate that the source is gone using a "?", just like the coloring droplist).
- Error is corrected. The source A is now able to generate the ArrayA array. However, the "Drop down list with values from input arrays" of B is set to ArrayA and all is well.