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

[PR #2437/cc48bb4c backport][3.14] Fix a serializer viewset interaction issue #2443

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Mar 25, 2022

This is a backport of PR #2437 as merged into main (cc48bb4).

Since a default value is provided on the publication serializer, it can't properly fall back to the repository settings: https://github.com/pulp/pulp_rpm/blob/main/pulp_rpm/app/viewsets.py#L272-L275

We need it to return None when not provided so that ^ line can work properly.

closes #2430

closes #2430

(cherry picked from commit cc48bb4)
@dralley dralley merged commit 3ba83cb into 3.14 Mar 25, 2022
@dralley dralley deleted the patchback/backports/3.14/cc48bb4c49c0bf6a471d9453224eaa4e53380af2/pr-2437 branch March 25, 2022 18:54
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 this pull request may close these issues.

1 participant