Skip to content

incorrect 'variable values have not been set' warning when none are missing #9861

@Rose-Northey

Description

@Rose-Northey

Severity

All customers using project variable scoping

Version

exists in latest

Latest Version

I could reproduce the problem in the latest build

What happened?

If scoped variables are added and then the scopings are removed:

  • missing variable scopings which do not exist are returned from the tenants/variables-missing endpoint
  • errors icons appear in the UI next to project tenant variables and common variables
Image

Deployments can still be made.

Reproduction

  • create project
  • create environments
  • create tenant
  • connect project to tenants and environments
  • in the project's tenant variables tab, create a new template
  • add a value and scoping to one environment
  • add another unscoped value to the template and save this
  • edit and delete the variable from step 7 and delete the environment scoping from step 6
  • the UI warnings appear

Error and Stacktrace

some of the required variable values have not been set

More Information

Image

Workaround

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugThis issue represents a verified problem we are committed to solving

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions