Bug 1533363 - [trello mEpUJ2kQ] Wrongly jump to homepage when click 'Clear Filters'
Summary: [trello mEpUJ2kQ] Wrongly jump to homepage when click 'Clear Filters'
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 3.9.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.9.0
Assignee: David Taylor
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-11 07:36 UTC by shahan
Modified: 2018-03-27 09:44 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2018-01-29 12:33:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0489 0 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.9 RPM Release Advisory 2018-03-28 18:06:38 UTC

Description shahan 2018-01-11 07:36:24 UTC
Description of problem:
Wrongly jump to homepage when clicking clear 'Clear Filters'

Version-Release number of selected component (if applicable):
v3.9.0-0.9.0

How reproducible:
Always

Steps to Reproduce:
1. login web console, go to overview page and input invalid keyword into the quick search catalog bar in the top-right corner and hit Enter
2.  click 'Clear Filters' under the text 'No results match.'
3.

Actual results:
 Wrongly jump to homepage when clicking clear 'Clear Filters'

Expected results:
 Should have the same behavior as the 'Clear All Filters' which will stay the new Catalog page 

Additional info:

Comment 1 David Taylor 2018-01-15 14:44:15 UTC
Hi, this PR went in recently to fix this issue:

https://github.com/openshift/origin-web-console/pull/2652

Comment 2 XiaochuanWang 2018-01-22 07:37:12 UTC
Checked on ocp v3.9.0-0.21.0, there is another issue:
When filter result is empty, user click "Clear Filters." which is in the center of the page, it directs to "unsafe:javascript:void(0)" as url address.
Seems "unsafe:javascript:void(0)" does not work.

Comment 3 David Taylor 2018-01-22 14:14:33 UTC
>  it directs to "unsafe:javascript:void(0)" as url address.
>  Seems "unsafe:javascript:void(0)" does not work.

'javascript:void(0)' is not supposed to actually do anything, it is a 'null' operation.  As long as the filters are cleared, then the link is working.

Comment 4 David Taylor 2018-01-24 15:50:57 UTC
Fixed via PR:  https://github.com/openshift/origin-web-console/pull/2703

Comment 6 XiaochuanWang 2018-01-29 02:30:41 UTC
Verified on v3.9.0-0.31.0
Both original description and Comment 2 are not reproduced now.


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