<div dir="ltr">Yes, it did change under the hood, but we're supposed to be translating it back to "id" it at the API boundaries. We're tracking this similar bug: <a href="https://pulp.plan.io/issues/1478">https://pulp.plan.io/issues/1478</a><div><br></div><div>Can you file this also as a bug? We'll make it a top priority.</div><div><br></div><div>For a little context, the switch to using mongoengine for data access (the benefits of which are already paying off hugely) required us to rename any database field previously named "id".</div><div><br></div><div>Michael</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 7, 2016 at 7:14 PM, Partha Aji <span dir="ltr"><<a href="mailto:paji@redhat.com" target="_blank">paji@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
When I run the equivalent of following in 2.6<br>
RestClient.post "<a href="https://katello-pulp-nightly.example.com/pulp/api/v2/content/units/erratum/search/" rel="noreferrer" target="_blank">https://katello-pulp-nightly.example.com/pulp/api/v2/content/units/erratum/search/</a>", "{\"criteria\":{}}", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Content-Length"=>"15", "accept"=>"application/json", "content_type"=>"application/json"<br>
<br>
I get a list of errata back with each errata row having the following keys<br>
["_href", "issued", "references", "_content_type_id", "id", "from", "severity", "title", "children", "version", "reboot_suggested", "type", "pkglist", "status", "updated", "description", "_last_updated", "pushcount", "_storage_path", "rights", "solution", "summary", "release", "_id"]<br>
<br>
<br>
However in 2.8 the same call returns errata with each row having the keys of<br>
["_href", "issued", "references", "pulp_user_metadata", "_content_type_id", "children", "from", "severity", "title", "version", "reboot_suggested", "type", "pkglist", "status", "updated", "errata_id", "description", "_last_updated", "pushcount", "downloaded", "_storage_path", "rights", "solution", "summary", "release", "_id"]<br>
<br>
One field that stands out amongst the differences here is errata_id in 2.8 vs id in 2.6<br>
<br>
1) Are they meant be the same field<br>
2) Do we need to change our API implementation and runcible, to cater to this change?<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
Partha<br>
</font></span></blockquote></div><br></div>