Description of problem:
Obv. we cannot outright remove RH content via bulk actions, but when user tries to do so, an error is returned that is misleading.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Sync RH content. If you want, to better illustrate this BZ, add it to a CV and publish, but subsequently remove all traces of CV (remove published version, delete) and assure it is GONE.
2. Content > Products > $RH_Content > Bulk delete > Remove Products > Remove
3. View results
Misleading error message:
An error occurred removing the Products: Cannot delete a Red Hat Products or Products with Repositories published in a Content View
Perhaps we should disallow users to go through the workflow with RH content, blacklist it, or maybe we should eventually just allow users to remove.
However, at very least we should not presently display message above, when content is definitely not in any content views.
*** Bug 1202698 has been marked as a duplicate of this bug. ***
Refer also to bug 1202698 when fixing this one.
Created redmine issue http://projects.theforeman.org/issues/17744 from this bug
This is an older bug which has been reported upstream. We are not going to track this bug downstream. When the upstream issue is resolved, the next build will contain the fix. Thank you.