Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1533363 - [trello mEpUJ2kQ] Wrongly jump to homepage when click 'Clear Filters'
[trello mEpUJ2kQ] Wrongly jump to homepage when click 'Clear Filters'
Status: CLOSED CURRENTRELEASE
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console (Show other bugs)
3.9.0
Unspecified Unspecified
medium Severity medium
: ---
: 3.9.0
Assigned To: David Taylor
Yadan Pei
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-01-11 02:36 EST by shahan
Modified: 2018-03-27 05:44 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-01-29 07:33:23 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0489 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.9 RPM Release Advisory 2018-03-28 14:06:38 EDT

  None (edit)
Description shahan 2018-01-11 02:36:24 EST
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 09:44:15 EST
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 02:37:12 EST
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 09:14:33 EST
>  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 10:50:57 EST
Fixed via PR:  https://github.com/openshift/origin-web-console/pull/2703
Comment 6 XiaochuanWang 2018-01-28 21:30:41 EST
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.