Changing backing values on a Project Variable Template Dropdown control type causes tenant display issues

Bob Ahlrichs's Avatar

Bob Ahlrichs

05 Jan, 2018 09:04 PM

Octopus v4.1.1

When using a Project Variable Template Dropdown control type, if you change the backing value for a dropdown option to a different value, any Tenant that had that dropdown option selected will be put into a funny state.
On the Tenant's variable entry screen the control will appear as if something is selected but there dropdown will be blank with no text. When you deploy you'll find that it's still using the old value.

Expected that changing the backing value for a dropdown option would properly update the value stored on the Tenant since it's the "same" dropdown option. If a backing value changes, this could result in having to update the variable across a large number of Tenants.

Worked around this for now by using a variable reference for the backing value. Not ideal, but at least updating the core value can cascade properly without manually touching many Tenants.

Example of the drop down options are:
745433-12342-31|Prod
234322-54645-32|Dev

changing either of the backing values (ie = 745433-12342-31) causes display issues for the tenant

  1. Support Staff 1 Posted by Kenneth Bates on 08 Jan, 2018 06:06 AM

    Kenneth Bates's Avatar

    Hi Bob,

    Thanks for getting in touch. I'm just letting you know here that I've reproduced this issue, which is included in the aforementioned issue that you can track here.
    https://github.com/OctopusDeploy/Issues/issues/4149

    Best regards,

    Kenny

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac