Skip to content

Fix serializing html formdata with nested representations#7725

Open
mdellweg wants to merge 2 commits into
pulp:mainfrom
mdellweg:nested_formdata
Open

Fix serializing html formdata with nested representations#7725
mdellweg wants to merge 2 commits into
pulp:mainfrom
mdellweg:nested_formdata

Conversation

@mdellweg
Copy link
Copy Markdown
Member

Form data is treated differently by serializers.

📜 Checklist

  • Commits are cleanly separated with meaningful messages (simple features and bug fixes should be squashed to one commit)
  • A changelog entry or entries has been added for any significant changes
  • Follows the Pulp policy on AI Usage
  • (For new features) - User documentation and test coverage has been added

See: Pull Request Walkthrough

@mdellweg mdellweg linked an issue May 19, 2026 that may be closed by this pull request
@mdellweg mdellweg marked this pull request as ready for review May 19, 2026 15:16
@mdellweg
Copy link
Copy Markdown
Member Author

Once merged we need to tech glue to jsonify nested representations in form data.

Copy link
Copy Markdown
Contributor

@gerrod3 gerrod3 left a comment

Choose a reason for hiding this comment

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

Can you add a test for the nested downloader config passed as html formdata? Also, rebase to fix the flakey azure test.

mdellweg added 2 commits May 20, 2026 08:44
Form data is treated differently by serializers.
When used as a nested object in a multipart body, json is the default
stringification method.

fixes: pulp#7677
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.

Unable to pass "downloader_config" key

2 participants