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

Fixes #37589 - Store the BuildStatus in DB #10224

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

sbernhard
Copy link
Contributor

The method to refrsh the build status is called by before_validation and the BuildStatus object is able to determine the status correctly - but unfortunately, it is not stored on to the DB.

@sbernhard
Copy link
Contributor Author

Actually, the failed tests proves, that this PR is necessary because otherwise the Build status is not stored to DB.

Do you agree? If this is the case, I need to fix the tests, but how?

The method to refrsh the build status is called by before_validation and
the BuildStatus object is able to determine the status correctly - but
unfortunately, it is not stored on to the DB.
Copy link
Member

@ofedoren ofedoren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @sbernhard !

@ofedoren ofedoren merged commit f0e2655 into theforeman:develop Jul 8, 2024
53 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants