Actions
Task #6772
closedCollection Import needs to validate data with CollectionSerializer before saving
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
Background¶
pulpcore recommends all plugin writers validate data with the corresponding serializer before saving with this issue.
pulp_ansible creates CollectionVersion objects from data returned by ansible-lint here. Notice that the CollectionVersionSerializer is never used to validate the model prior to saving.
Solution¶
Use the CollectionVersionSerializer to validate the model data before saving.
Updated by fao89 over 4 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to fao89
Added by Fabricio Aguiar over 4 years ago
Updated by pulpbot over 4 years ago
- Status changed from ASSIGNED to POST
Updated by Anonymous over 4 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulp_ansible|013744b3b8ee59a71417e46b3cc009c477ec5a0c.
Updated by fao89 over 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Serializer to validate collections while importing
https://pulp.plan.io/issues/6772 closes #6772