Bug #36334
closedContent view publish with filters is getting failed with the error "Could not find the following content units:"
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2172355
Description of problem:
While publishing the content view with filters applied it is getting failed with below error:
Errors:
Error message: the server returns an error
HTTP status code: 400
Response body: ["Could not find the following content units: ['/pulp/api/v3/content/rpm/modulemds/08018868-b067-4907-b24e-ec5571b0d0b2/']"]
But content view publish successfully if filters are not applied to it.
Version-Release number of selected component (if applicable):
Any Pulp 3 Katello
How reproducible:
Unknown
Steps to Reproduce:
To force, change the pulp_href of a filterable content unit in Katello to something fake.
Actual results:
Content view publish with filters get fails with the below error:
Response body: ["Could not find the following content units: ['/pulp/api/v3/content/rpm/modulemds/08018868-b067-4907-b24e-ec5571b0d0b2/']"]
Expected results:
Content view publish with filters should complete successfully.
Additional info:
Same issue observed here https://community.theforeman.org/t/strange-pulp3-error/25550