Bug 988740 - [origin_ui_57] Met "Routing Error" when seaching on admin console using blank input.
Summary: [origin_ui_57] Met "Routing Error" when seaching on admin console using blank...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Website
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Jessica Forrester
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-26 09:36 UTC by Yujie Zhang
Modified: 2015-05-15 01:29 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-07 22:57:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Yujie Zhang 2013-07-26 09:36:53 UTC
Description of problem:

Clicked the search button without any input to the search form, and met 

"Routing Error

No route matches {:action=>"show", :controller=>"admin_console/nodes", :id=>""}"

Should return warning message but not code error.

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

devenv_3565

How reproducible:

always

Steps to Reproduce:
1.Click the search button on the admin-console/search page without any input to the form
2.
3.

Actual results:

Met "Routing Error No route matches {:action=>"show",:controller=>"admin_console/nodes", :id=>""}"

Expected results:

Should return warning message but not code error.

Additional info:

Comment 1 Jessica Forrester 2013-07-26 19:36:59 UTC
Fix is in https://github.com/openshift/origin-server/pull/3184

Invalid search will go to the search page with the associated input marked with an error.

Comment 3 Yujie Zhang 2013-07-29 06:11:12 UTC
Tested on devenv_3572, remind message "No search query was provided" will be displayed, so verify this bug, thanks.


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