VMware Cloud Community
tough_siberian_
Enthusiast
Enthusiast

Unexpected presentation behavior.

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.

Reply
0 Kudos
4 Replies
iiliev
VMware Employee
VMware Employee

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).

tough_siberian_
Enthusiast
Enthusiast

More info on this. Example 2 works correctly only if this empty string is the first entry in the predefined list.

Reply
0 Kudos
cdecanini_
VMware Employee
VMware Employee

I think I had the same issue in 5.1 U1 and unfortunately had not enough time to reproduce / file as bug.

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you! Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator for vCenter Orchestrator tips and tutorials - @vCOTeam on Twitter
Reply
0 Kudos
iiliev
VMware Employee
VMware Employee

I opened a PR to track this issue.

http://bugzilla.eng.vmware.com/show_bug.cgi?id=1039553