<div dir="ltr"><div>Hi all,</div><div><br></div><div>I'm running into a problem when importing multi-release erratum (Pulp 2.19.0) via the REST API. It seems regardless of what I set name & short fields to, they always end up set to name="collection-0", short="". For example;</div><div><br></div><div>    metadata = {<br>       ...<br>        'pkglist': [{<br>            'name': repo.get('display_name'),<br>            'short': repo.get('id'),<br>            'packages': packages,<br>        }],<br>        ...<br>    }</div><div><br></div><div>where packages is a list of package metadata (name, version, release, epoch, etc.), pkglist name in this instance is "CentOS-6 - Updates (x86_64)" and short=centos6-x86_64-updates (both fields of the repository I'm importing to).</div><div><br></div><div>However, when I use the /content/units/erratum/search/ REST endpoint to retrieve the errata, I get the following;</div><div><br></div><div>...<br></div><div>  "pkglist": [<br>    {<br>      "packages": [<br>...<br>      ],<br>      "name": "collection-0",<br>      "short": ""<br>    }<br>  ],</div><div><br></div><div>Shouldn't I be able to set these?</div><div><br></div><div>If I try to import the same errata into a different repository with its respective packages included in pkglist, those packages don't appear to make it in. Looking at the model for ErratumPkglist, the unique key is a composition of both errata_id and repo_id, so it probably doesn't matter what I set the name and short fields too, but it would be useful regardless.<br></div><div><br></div><div>Any ideas on either of these issues? <br></div><div><br></div><div>Thanks,</div><div>Grant</div><div><br></div></div>