Bug #36529
closedCV page needs refresh to get the current filters state
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2216757
Description of problem:
When adding/removing a filter to/from a content view, we need to refresh the CV page to get the current state of applied filters, otherwise later in the Publish overview modal the previous state is displayed instead of the current one.
Version-Release number of selected component (if applicable):
6.14.0 snap 4
How reproducible:
always
Steps to Reproduce:
1. Have a CV with some content.
2. Add a filter (no matter the type) and publish.
3. Remove the filter added in 2. and publish again.
Actual results:
2. No info about applied filters shown in the publish overview modal.
3. "Filters will be applied to this content view version." info is shown in the publish overview modal.
Expected results:
2. "Filters will be applied to this content view version." should be shown in the publish overview modal.
3. No info about applied filters should be shown in the publish overview modal.
Additional info:
If we refresh the CV page before publishing, the correct state is used for the message.
Updated by Samir Jha over 1 year ago
- Subject changed from CV page needs refresh to get the current filters state to CV page needs refresh to get the current filters state
- Target version set to Katello 4.9.1
Updated by The Foreman Bot over 1 year ago
- Status changed from New to Ready For Testing
- Assignee set to Samir Jha
- Pull request https://github.com/Katello/katello/pull/10628 added
Updated by The Foreman Bot over 1 year ago
- Fixed in Releases Katello 4.10.0 added
Updated by Samir Jha over 1 year ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|009f5c64ae900957b9f895e725815561139a213f.
Updated by The Foreman Bot over 1 year ago
- Fixed in Releases Katello 4.9.1 added