Hi team,
When I update the name of a step in deployment process, the same step doesn’t get updated in channel version rule.
Octopus Server version 2022.1 (Build 2894)
Steps to replicate:
- Create/Find a project with at least two process steps. Step A and Step B
- Set both steps as Package Steps in a Channel version rule
- Save changes
- Go back to deployment process, delete Step A, rename Step B to Step A (It’s the Step name field)
- Save changes
- Refresh the project page or click anywhere within the project
- Error message “The resource ‘Name of Step B’ was not found” displays
Investigation:
- Looking at
dbo.Channel
table, found that version rule information is kept in a nvarchar(max) column calledJSON
- Updated the value in
JSON
column to reflect the new Step B name - Error went away
Can we have some kind of foreign key links version rule package step back to project process step to avoid this issue?
Regards,
Leonard