Project

Profile

Help

Issue #2219

closed

Erratum pkglists are not validated during upload

Added by ttereshc over 7 years ago. Updated about 5 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 - DUPLICATEActions
Actions #1

Updated by amacdona@redhat.com over 7 years ago

  • Priority changed from Normal to Low
  • Triaged changed from No to Yes
Actions #2

Updated by ttereshc over 6 years ago

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

Updated by ttereshc over 6 years ago

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

Updated by ttereshc over 6 years ago

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

Updated by ttereshc over 6 years ago

  • Sprint Candidate changed from No to Yes
Actions #6

Updated by amacdona@redhat.com over 5 years ago

  • Sprint Candidate changed from Yes to No
Actions #7

Updated by bmbouter about 5 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.

Actions #8

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF