Project

Profile

Help

Issue #4792

closed

Serialization bug on Publications

Added by dalley over 5 years ago. Updated almost 5 years ago.

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

Description

See "repository"

(pulp) [vagrant@pulp3-source-fedora29 pulpcore]$ http :24817/pulp/api/v3/publications/rpm/rpm/
HTTP/1.1 200 OK
Allow: GET, POST, HEAD, OPTIONS
Connection: close
Content-Length: 417
Content-Type: application/json
Date: Tue, 07 May 2019 18:32:02 GMT
Server: gunicorn/19.9.0
Vary: Accept, Cookie
X-Frame-Options: SAMEORIGIN

{
    "count": 1,
    "next": null,
    "previous": null,
    "results": [
        {
            "_created": "2019-05-07T18:31:26.741760Z",
            "_distributions": [],
            "_href": "/pulp/api/v3/publications/rpm/rpm/cf5260ab-bc6e-4f70-b91a-0a43ab19d83f/",
            "_type": "rpm.rpm",
            "publisher": null,
            "repository": "http://localhost:24817/pulp/api/v3/repositories/%3CRepository:%20foo%3E/",
            "repository_version": "/pulp/api/v3/repositories/b8a3180f-e801-48f1-b124-a2087322bbe7/versions/1/"
        }
    ]
}

Related issues

Is duplicate of Pulp - Issue #4749: "repository" field on Publication is brokenCLOSED - DUPLICATEActions

Also available in: Atom PDF