Hello.
Does anybody have a similar problem?
After updating vCO appliance to the latest version, Input Window (and User Interaction element) presentation properties started to work differently.
Description of a problem:
Cannot force default value on a parameter which is set of predefined values unless one of value in the list is empty string.
So, when I have an input parameter, and its value must be selected from a predefined list, presentation property "Default value" works only if there's an empty entry in this predefined list. If there's no such entry, then input window always displays the first entry.
Example 1:
Predefined list: ['First', 'Second']
Default value: 'Second'
Input window shows: 'First'
Example 2:
Predefined list: ['','First',Second']
Default value: 'Second'
Input window shows: 'Second'
Is this a bug or a "feature"? And is it possible to overcome the issue without changing input processing logic? Or maybe there's a way to restore "old" behavior (without downgrade)?
Thank you.
Looks like a bug. I'm able to reproduce it on my 5.5 dev environment with Java Swing client (vSphere Web Client seems to work correctly).
More info on this. Example 2 works correctly only if this empty string is the first entry in the predefined list.
I think I had the same issue in 5.1 U1 and unfortunately had not enough time to reproduce / file as bug.
I opened a PR to track this issue.