Bug #5030
closedcontent views: UI: unable to consistently add/remove items for a package group and errata by id filter
Description
This issue is similar to http://projects.theforeman.org/issues/5027; however, it is a separate bug.
A user is not able to consistently add/remove contents (errata ids or package groups) to/from a filter.
Scenario (using errata):
1. Pre-req - have a content view with an errata by id filter that has a few errata added to it.
2. go to the filter (e.g. Content -> Filters -> select errata filter)
3. from List/Remove, select one or errata to remove & click 'Remove Errata'
4. the errata are successfully removed
5. from Add, select the same errata (removed in 3) & click 'Add Errata'
6. the errata are successfully added
7. from List/Remove, select the same errata (added in 5) & click 'Remove Errata'
8. errata are not removed and a 404 is received from the server
It appears that 8 may be trying to remove the errata using the same IDs it used when removing them in 3; however, the reality is that they are 2 different filter rules.