Bug 2216757 - CV page needs refresh to get the current filters state
Summary: CV page needs refresh to get the current filters state
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Views
Version: 6.14.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: 6.14.0
Assignee: Samir Jha
QA Contact: Vladimír Sedmík
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-22 13:22 UTC by Vladimír Sedmík
Modified: 2023-07-13 10:19 UTC (History)
3 users (show)

Fixed In Version: rubygem-katello-4.9.0.2-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 36529 0 Normal New CV page needs refresh to get the current filters state 2023-06-23 16:44:04 UTC
Red Hat Issue Tracker SAT-18573 0 None None None 2023-06-22 13:32:54 UTC

Description Vladimír Sedmík 2023-06-22 13:22:04 UTC
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.

Comment 1 Samir Jha 2023-06-23 16:44:04 UTC
Created redmine issue https://projects.theforeman.org/issues/36529 from this bug

Comment 3 Bryan Kearney 2023-07-06 16:03:15 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/36529 has been resolved.

Comment 5 Vladimír Sedmík 2023-07-13 10:19:01 UTC
Verified in 6.14.0 snap 7.

Steps from comment#0 provide the expected results.


Note You need to log in before you can comment on or make changes to this bug.