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

Unable to create update. 'NoneType' object is not iterable returned when editing an existing update via API and not providing bugs #5800

Closed
nforro opened this issue Nov 18, 2024 · 0 comments · Fixed by #5801

Comments

@nforro
Copy link
Contributor

nforro commented Nov 18, 2024

This is most likely the same issue as #2520 but that was fixed client-side. I think it deserves a proper fix in bodhi-server.

softwarefactory-project-zuul bot added a commit to packit/packit that referenced this issue Nov 20, 2024
Always include the list of bugs in `BodhiClient.save()` kwargs

It seems there is a bug/feature in Bodhi and when editing an existing update and not supplying the bugs parameter, Bodhi returns a failure however the only non-updated property of the update is the list of bugs.
Always including the list of bugs, even if empty, should prevent this.
I've also opened fedora-infra/bodhi#5800.
Fixes #2467 and similar.

Reviewed-by: Laura Barcziová
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant