Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RSE-985: Fix error when deleting jobs after upgrade. #9012

Merged
merged 1 commit into from Mar 18, 2024
Merged

Conversation

ahormazabal
Copy link
Contributor

@ahormazabal ahormazabal commented Mar 18, 2024

Fixes an error that prevents from deleting jobs when the choice of deleting executions is not selected. This happens when upgrading from a version prior to 4.17.0 to 4.17.0 or above.

4.17.0 added new columns at the execution table, however the domain object incorrectly is set as non-nullable (gorm's default), preventing the correct update of executions from previous versions that have a null value on those columns.

@ahormazabal ahormazabal merged commit 1b0c94f into main Mar 18, 2024
6 checks passed
@ahormazabal ahormazabal deleted the RSE-985 branch March 18, 2024 22:57
Copy link

💚 All backports created successfully

Status Branch Result
release/5.1.x

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

@ahormazabal ahormazabal changed the title RSE-985: Fix inconsistent Execution class constraints. RSE-985: Fix error when deleting jobs after upgrade. Mar 20, 2024
ltamaster added a commit that referenced this pull request Mar 26, 2024
[release/5.1.x] Merge pull request #9012 from rundeck/RSE-985
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants