Actions
Issue #3843
closedServer translates null to "" for repo description, breaking api bindings
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
API Bindings, Katello
Sprint:
Sprint 40
Quarter:
Description
On pulp 3, Using the generated swagger bindings, i was unable to fetch my repositories, throwing:
ArgumentError: invalid value for "description", the character length must be great than or equal to 1.
The problem was that my repositories had a 'null' description, but the api is not returning null, its returning empty string (""). There seems to be some validation on the model side of the apipie bindings that is getting tripped up on this.
Actions