8000 XML-RPC API: Fix complex objects are return value by SchoolGuy · Pull Request #3172 · cobbler/cobbler · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

XML-RPC API: Fix complex objects are return value #3172

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

Merged
merged 2 commits into from
Jul 7, 2022

Conversation

SchoolGuy
Copy link
Member

This bug is appearing in "get_item_resolved_value" and could be triggered for
example when "arch" was asked with a distro. The fix is to catch all types in
"remote.py" and convert them on a per-type basis.

This commit also adds tests for the known cases that would cause trouble in the
past.

This bug is appearing in "get_item_resolved_value" and could be triggered for
example when "arch" was asked with a distro. The fix is to catch all types in
"remote.py" and convert them on a per-type basis.

This commit also adds tests for the known cases that would cause trouble in the
past.
@SchoolGuy SchoolGuy added this to the v3.4.0 milestone Jul 7, 2022
@SchoolGuy SchoolGuy requested a review from a team July 7, 2022 12:24
@github-actions github-actions bot added the tests label Jul 7, 2022
Copy link
Member
@meaksh meaksh left a comment

Choose a reason for hiding this comment

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

This looks really good. Thanks! I just added minor cosmetic comment.

This bug is appearing in "get_item_resolved_value" and could be triggered for
example when "arch" was asked with a distro. The fix is to catch all types in
"remote.py" and convert them on a per-type basis.

This commit also adds tests for the known cases that would cause trouble in the
past.
@SchoolGuy SchoolGuy merged commit 26259f5 into main Jul 7, 2022
@SchoolGuy SchoolGuy deleted the bug/fix-complex-object-data branch July 7, 2022 12:59
@SchoolGuy SchoolGuy linked an issue Jul 7, 2022 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

get_item_resolved_value returns complex objects
2 participants
0