Issues icon indicating copy to clipboard operation
Issues copied to clipboard

Tenants Projects Variable are deleted without warning when project lifecycles are changed

Open danefalvo opened this issue 2 years ago • 0 comments

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 image

Set Project Variables against those environments: image

Change the Lifecycle of the Project: Original: image New: image

Update the Tenant to valid Environments: image

image

Then Change the Lifecycle back to the original image

Then Change the Environment back to the previously mapped ones: image

The Variables have been deleted: image

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.

danefalvo avatar Oct 20 '22 12:10 danefalvo