Actions
Issue #4903
closedpython bindings are unable to nullify repository description
Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
API Bindings
Sprint:
Quarter:
Description
This probably affects other nullifyable database fields, too.
Using httpie the following commands are both able to set the description to null:
$ http --json PUT :24817/pulp/api/v3/repositories/cebe653e-f8ca-4b2f-acd0-93c5edf32b48/ description:=null name:=\"test_repo\"
$ http --json PATCH :24817/pulp/api/v3/repositories/cebe653e-f8ca-4b2f-acd0-93c5edf32b48/ description:=null
However neither repositories_update (PUT) nor repositories_partial_update (PATCH) are able to perform that transformation.
See the python example in the attachment.
Files
Actions