Issues
Issues copied to clipboard
Tenants Projects Variable are deleted without warning when project lifecycles are changed
Team
- [X] I've assigned a team label to this issue
Severity
Not Blocking but has wiped many variables for one customer
Version
2022.4.5099
Latest Version
I could reproduce the problem in the latest build
What happened?
If you attach a project to a Tenant against an environment and you set Project Variables against those environments, if you change the project to follow a different lifecycle, that doesn't include those environments - the variables are removed from the database without warning. This means, if you change the lifecycle back to the original lifecycle, all of your previous variables are no longer available.
The Variables should be stored in case you need to alter your lifecycle back again.
Reproduction
Attach a project to a Tenant against one or more environments
Set Project Variables against those environments:
Change the Lifecycle of the Project:
Original:
New:
Update the Tenant to valid Environments:
Then Change the Lifecycle back to the original
Then Change the Environment back to the previously mapped ones:
The Variables have been deleted:
Error and Stacktrace
No response
More Information
Internal Ticket: https://octopus.zendesk.com/agent/tickets/98507
Workaround
No workaround - variables are deleted when "Update Connection" is pressed.