Issues icon indicating copy to clipboard operation
Issues copied to clipboard

Prompted variable in library and project set can duplicate

Open calverp opened this issue 5 years ago • 2 comments

Are you a customer of Octopus Deploy? Don't raise the issue here. Please contact our support team so we can triage your issue, making sure it's handled appropriately.

Prerequisites

  • [X] I have verified the problem exists in the latest version
  • [X] I have searched open and closed issues to make sure it isn't already reported
  • [X] I have written a descriptive issue title
  • [X] I have linked the original source of this report
  • [X] I have tagged the issue appropriately (area/*, kind/bug, tag/regression?)

The bug

If a variable exists in a library variable set and a project variable set and is set to Prompt, it will appear twice on the deploy screen. The value set in the project variable will still take priority though.

What I expected to happen

Only the project variable should appear on the prompt screen.

Steps to reproduce

  1. Create a variable in a library variable set e.g. "PromptTest"
  2. Set the variable to Prompt
  3. Assign the variable set to a project
  4. Create a variable within the project with the same name e.g. "PromptTest"
  5. Create a release and deploy
  6. Check the prompt variables on deploy screen, "PromptTest" will appear twice

Screen capture

image

Affected versions

Octopus Server: 2020.5.0

Workarounds

This is mainly a UI issue, the behaviour of the variables remain the same i.e. the project variable will override the library variable

Links

https://help.octopus.com/t/variable-override/25917

calverp avatar Nov 04 '20 10:11 calverp