Actions
Issue #2219
closedErratum pkglists are not validated during upload
Status:
CLOSED - WONTFIX
Priority:
Low
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
One can upload invalid erratum pkglist. No error during upload, only publish will fail.
Upload erratum with pkglist like:
"pkglist": [{"wrong_packages": [{"anything": "can", "be": "here"}]}]
Observe no error and a corresponding record in the DB:
"pkglist" : [
{
"_pulp_repo_id" : "zoo",
"wrong_packages" : [
{
"be" : "here",
"anything" : "can"
}
]
}
],
To reproduce use upload via API.
Structure of the erratum upload request can be found using this recipe with `pulp-admin -vv`
Related issues
Actions