https://pulp.plan.io/https://pulp.plan.io/favicon.ico2020-12-18T15:37:55ZPulpRPM Support - Issue #8002: List content fields= - first field named not returnedhttps://pulp.plan.io/issues/8002?journal_id=658312020-12-18T15:37:55Zfao89
<ul><li><strong>Triaged</strong> changed from <i>No</i> to <i>Yes</i></li></ul> RPM Support - Issue #8002: List content fields= - first field named not returnedhttps://pulp.plan.io/issues/8002?journal_id=658362020-12-18T17:37:47Zdalleydalley@redhat.com
<ul></ul><p>The issue as described is not an issue, the correct syntax is to use a comma-separated list without square brackets. The value of the parameter is not intended to be json-encoded.</p>
<pre><code>(pulp) [vagrant@pulp2-nightly-pulp3-source-centos7 devel]$ http GET :24817/pulp/api/v3/content/file/files/?fields=md5,sha256
HTTP/1.1 200 OK
Access-Control-Expose-Headers: Correlation-ID
Allow: GET, POST, HEAD, OPTIONS
Connection: close
Content-Length: 132
Content-Type: application/json
Correlation-ID: f36cd8c18124406c90c1ba871f88f16a
Date: Fri, 18 Dec 2020 17:37:12 GMT
Server: gunicorn/20.0.4
Vary: Accept, Cookie
X-Frame-Options: SAMEORIGIN
{
"count": 3,
"next": null,
"previous": null,
"results": [
{
"md5": null,
"sha256": null
},
{
"md5": null,
"sha256": null
},
{
"md5": null,
"sha256": null
}
]
}
</code></pre>
<p>However, ipanova pointed out that this is broken on the RPM plugin for a different reason. Moving to the RPM tracker.</p> RPM Support - Issue #8002: List content fields= - first field named not returnedhttps://pulp.plan.io/issues/8002?journal_id=658372020-12-18T17:40:29Zdalleydalley@redhat.com
<ul><li><strong>Project</strong> changed from <i>Pulp</i> to <i>RPM Support</i></li><li><strong>Status</strong> changed from <i>NEW</i> to <i>POST</i></li><li><strong>Assignee</strong> set to <i>ipanova@redhat.com</i></li></ul> RPM Support - Issue #8002: List content fields= - first field named not returnedhttps://pulp.plan.io/issues/8002?journal_id=658382020-12-18T17:53:48Zpulpbot
<ul></ul><p>PR: <a href="https://github.com/pulp/pulp_rpm/pull/1911" class="external">https://github.com/pulp/pulp_rpm/pull/1911</a></p> RPM Support - Issue #8002: List content fields= - first field named not returnedhttps://pulp.plan.io/issues/8002?journal_id=658392020-12-18T18:33:44Zipanova@redhat.comipanova@redhat.com
<ul><li><strong>Sprint</strong> set to <i>Sprint 87</i></li></ul> RPM Support - Issue #8002: List content fields= - first field named not returnedhttps://pulp.plan.io/issues/8002?journal_id=658402020-12-18T18:35:21Zipanova@redhat.comipanova@redhat.com
<ul><li><strong>Status</strong> changed from <i>POST</i> to <i>MODIFIED</i></li></ul><p>Applied in changeset <a class="changeset" title="Fixed package serialization so it displays content checksums. closes #8002 https://pulp.plan.io/..." href="https://pulp.plan.io/projects/pulp_rpm/repository/9/revisions/85eb9317db0f5421e0ed5956a3faf9c1d22866e9">85eb9317db0f5421e0ed5956a3faf9c1d22866e9</a>.</p> RPM Support - Issue #8002: List content fields= - first field named not returnedhttps://pulp.plan.io/issues/8002?journal_id=672012021-02-04T21:06:52Zdalleydalley@redhat.com
<ul><li><strong>Sprint/Milestone</strong> set to <i>3.9.0</i></li></ul> RPM Support - Issue #8002: List content fields= - first field named not returnedhttps://pulp.plan.io/issues/8002?journal_id=672582021-02-04T22:10:49Zpulpbot
<ul><li><strong>Status</strong> changed from <i>MODIFIED</i> to <i>CLOSED - CURRENTRELEASE</i></li></ul>