Project

Profile

Help

Issue #8533

closed

PackageReleaseComponentSerializer - package and release-component use identical queries

Added by ggainey over 1 year ago. Updated 11 months ago.

Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version - Debian:
Platform Release:
Target Release - Debian:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

Ticket moved to GitHub: "pulp/pulp_deb/400":https://github.com/pulp/pulp_deb/issues/400


See the code here : https://github.com/pulp/pulp_deb/blob/main/pulp_deb/app/serializers/content_serializers.py#L551-L567

Looks like 'package' is a cut-and-paste of 'release_component', which I suspect is Bad.

Actions #1

Updated by jxsxs over 1 year ago

Tested this with:


POST to /pulp/api/v3/content/deb/package_release_components/

with payload of:


{

    "package": "pulp/api/v3/content/deb/packages/7bbc7292-27ba-4216-b155-4b0c508ee1d2",
    "release_component": "pulp/api/v3/content/deb/releases/80f239cf-52a4-4cbc-8072-d4029ca6cc54"

}

results in:

{
    "package": [
        "Invalid hyperlink - No URL match."
    ],
    "release_component": [
        "Invalid hyperlink - No URL match."
    ]
}
Actions #2

Updated by quba42 over 1 year ago

  • Sprint/Milestone set to Wishlist
Actions #3

Updated by pulpbot 11 months ago

  • Description updated (diff)
  • Status changed from NEW to CLOSED - DUPLICATE

Also available in: Atom PDF