Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1365304

Summary: Web Console filter context lost on back button
Product: OpenShift Container Platform Reporter: Justin Pierce <jupierce>
Component: Management ConsoleAssignee: Jessica Forrester <jforrest>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.2.1CC: aos-bugs, jforrest, jokerman, mmccomas, pweil, tdawson
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Feature: Tables with label filters will persist the current filter into the URL. Reason: Clicking directly into a pre-filtered pod list, clicking somewhere else, and then hitting Back, took you back to the entire pod list instead of the filtered one. User feedback told us this behavior was not expected. Result: The latest filtering state a page is on will be persisted into the URL and work with browser history.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-18 12:52:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Justin Pierce 2016-08-08 21:11:00 UTC
Description of problem:
A list view's filters are generally lost when visiting a detail page and then backing out using the browser's back button. 

Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. Create a deployment with one or more pods.
2. In "Overview", select the deployment's  pods "circle" to list the pods involved in the deployment.
3. In the pods list, select a pod to visit its details. 
4. In the detail page, click the browser's "Back" button.


Actual results:
The list filters will be gone and all pods in the system will be displayed.

Expected results:
Only the pods in the original deployment will be displayed. 

Additional info:

Comment 1 Dan McPherson 2016-08-09 10:55:34 UTC
Maybe a dup of: https://trello.com/c/vZbjaAwZ/718-bookmarkable-labels

Comment 2 Jessica Forrester 2016-09-26 14:24:22 UTC
origin-web-console PR https://github.com/openshift/origin-web-console/pull/589

Comment 3 Jessica Forrester 2016-09-26 17:35:35 UTC
merging to origin with https://github.com/openshift/origin/pull/11097

Comment 4 Troy Dawson 2016-10-18 16:14:06 UTC
This has been merged into ose and is in OSE v3.4.0.12 or newer.

Comment 6 Yadan Pei 2016-10-19 03:20:20 UTC
Checked against v3.4.0.12 with steps

1. Create a deployment with one or more pods.
2. In "Overview", select the deployment's  pods "circle" to list the pods involved in the deployment.
3. In the pods list, select a pod to visit its details. 
4. In the detail page, click the browser's "Back" button

Now after clicking browser's "Back" button, filter still exists and only pods belongs to this deployment will be displayed

Move to VERIFIED

Comment 8 errata-xmlrpc 2017-01-18 12:52:16 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:0066