Project

Profile

Help

Issue #2219

Erratum pkglists are not validated during upload

Added by ttereshc over 5 years ago. Updated over 2 years ago.

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

Has duplicate Pulp - Issue #3046: pulp-rpm Merging Errata fails with KeyError exceptionCLOSED - DUPLICATE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by amacdona@redhat.com over 5 years ago

  • Priority changed from Normal to Low
  • Triaged changed from No to Yes

#2 Updated by ttereshc about 4 years ago

  • Related to Issue #3046: pulp-rpm Merging Errata fails with KeyError exception added

#3 Updated by ttereshc about 4 years ago

  • Related to deleted (Issue #3046: pulp-rpm Merging Errata fails with KeyError exception)

#4 Updated by ttereshc about 4 years ago

  • Has duplicate Issue #3046: pulp-rpm Merging Errata fails with KeyError exception added

#5 Updated by ttereshc about 4 years ago

  • Sprint Candidate changed from No to Yes

#6 Updated by amacdona@redhat.com about 3 years ago

  • Sprint Candidate changed from Yes to No

#7 Updated by bmbouter over 2 years ago

  • Status changed from NEW to CLOSED - WONTFIX

Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.

#8 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF