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:
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.
Commits pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/e2c262e308be0153272e17ba35e0588be854ca1a Bug 988740 - admin console routing error on empty search query https://github.com/openshift/origin-server/commit/2e4540da5a982502a489982f0ead94f6fe142f95 Bug 988740 - code review fixes
Tested on devenv_3572, remind message "No search query was provided" will be displayed, so verify this bug, thanks.