https://pulp.plan.io/https://pulp.plan.io/favicon.ico2015-02-28T21:59:24ZPulpPulp - Issue #379: No error when criteria inside request body lack the required type_ids (when unassociating this results in an empty repository)https://pulp.plan.io/issues/379?journal_id=7122015-02-28T21:59:24Zcduryeecduryee@redhat.com
<ul></ul><p>I would consider this to be an API bug, it is unexpected that all of the units are unassociated. I will document it for now but it should be fixed for Pulp 3.0.</p>
<p>+ This comment was cloned from <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1021579#c1" class="external">Bugzilla #1021579 comment 1</a> +</p> Pulp - Issue #379: No error when criteria inside request body lack the required type_ids (when unassociating this results in an empty repository)https://pulp.plan.io/issues/379?journal_id=7132015-02-28T21:59:25Zcduryeecduryee@redhat.com
<ul></ul><p>doc update: <a href="https://github.com/pulp/pulp/pull/1327" class="external">https://github.com/pulp/pulp/pull/1327</a></p>
<p>+ This comment was cloned from <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1021579#c2" class="external">Bugzilla #1021579 comment 2</a> +</p> Pulp - Issue #379: No error when criteria inside request body lack the required type_ids (when unassociating this results in an empty repository)https://pulp.plan.io/issues/379?journal_id=7142015-02-28T21:59:25Zcduryeecduryee@redhat.com
<ul></ul><p>docs update is merged to 2.4-release and up, changing BZ component to API/integration for the actual fix</p>
<p>+ This comment was cloned from <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1021579#c3" class="external">Bugzilla #1021579 comment 3</a> +</p> Pulp - Issue #379: No error when criteria inside request body lack the required type_ids (when unassociating this results in an empty repository)https://pulp.plan.io/issues/379?journal_id=7152015-02-28T21:59:26Zamacdona@redhat.comaustin@redhat.com
<ul></ul><p>This is the case for more than just this call. Many API calls that use critera to filter results have a similar issue.</p>
<p>+ This comment was cloned from <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1021579#c4" class="external">Bugzilla #1021579 comment 4</a> +</p> Pulp - Issue #379: No error when criteria inside request body lack the required type_ids (when unassociating this results in an empty repository)https://pulp.plan.io/issues/379?journal_id=16952015-03-02T18:39:36Zamacdona@redhat.comaustin@redhat.com
<ul><li><strong>Platform Release</strong> deleted (<del><i>3.0.0</i></del>)</li></ul> Pulp - Issue #379: No error when criteria inside request body lack the required type_ids (when unassociating this results in an empty repository)https://pulp.plan.io/issues/379?journal_id=26112015-03-20T19:14:59Zbmbouterbmbouter@redhat.com
<ul><li><strong>Severity</strong> changed from <i>Medium</i> to <i>2. Medium</i></li></ul> Pulp - Issue #379: No error when criteria inside request body lack the required type_ids (when unassociating this results in an empty repository)https://pulp.plan.io/issues/379?journal_id=341122019-02-20T16:38:12Zmatthias.b
<ul></ul><p><strong>Version</strong><br>
Pulp 2.18</p>
<p><strong>Description</strong><br>
I found that this issue is also present with "deb" type id :</p>
<pre><code>{
"filters": {
"unit" : {
"unit_id": "e5c53490-391b-43a1-8c23-37c44ea1d5df"
}
},
"type_ids": ["deb"]
}
</code></pre>
<p>nor</p>
<pre><code>{
"filters": {
"unit" : {
"unit_id": {"$in": ["e5c53490-391b-43a1-8c23-37c44ea1d5df"]}
}
},
"type_ids": ["deb"]
}
</code></pre>
<p>don't workaround the issue. All packages on my repo are dropped when POSTing on /pulp/api/v2/repositories/my_repo/actions/unassociate/</p> Pulp - Issue #379: No error when criteria inside request body lack the required type_ids (when unassociating this results in an empty repository)https://pulp.plan.io/issues/379?journal_id=361992019-04-12T18:04:05Zbmbouterbmbouter@redhat.com
<ul><li><strong>Status</strong> changed from <i>NEW</i> to <i>CLOSED - WONTFIX</i></li></ul> Pulp - Issue #379: No error when criteria inside request body lack the required type_ids (when unassociating this results in an empty repository)https://pulp.plan.io/issues/379?journal_id=362362019-04-12T18:06:56Zbmbouterbmbouter@redhat.com
<ul></ul><p>Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the <a href="https://www.redhat.com/mailman/listinfo/pulp-dev" class="external">developer mailing list</a>.</p> Pulp - Issue #379: No error when criteria inside request body lack the required type_ids (when unassociating this results in an empty repository)https://pulp.plan.io/issues/379?journal_id=404642019-04-15T21:14:25Zbmbouterbmbouter@redhat.com
<ul><li><strong>Tags</strong> <i>Pulp 2</i> added</li></ul> Pulp - Issue #379: No error when criteria inside request body lack the required type_ids (when unassociating this results in an empty repository)https://pulp.plan.io/issues/379?journal_id=583072020-06-16T20:55:34Zbmbouterbmbouter@redhat.com
<ul><li><strong>Category</strong> deleted (<del><i>14</i></del>)</li></ul><p>We are removing the 'API' category per open floor discussion June 16, 2020.</p>