Created attachment 870242 [details] Log in devenv.log Description of problem: Go to web console and try to create a domain using "", which doesn't contain character. It will return "We appear to be having technical difficulties" error message. It should return "Invalid namespace. Namespace must only contain alphanumeric characters." and "Must be a minimum of 1 and maximum of 16 characters." such error message. Version-Release number of selected component (if applicable): INT(devenv_4454) devenv_4455 How reproducible: Always Steps to Reproduce: 1. Go to web console and visit creating domain page 2. Input nothing and try to create domain 3. Check the page Actual results: It will return "We appear to be having technical difficulties" Expected results: It should return "Invalid namespace. Namespace must only contain alphanumeric characters." and "Must be a minimum of 1 and maximum of 16 characters." such error message. Additional info:
Due to this code: with_details = full_errors.length > 1 html_options[:class] += ' with-alert-details' if with_details Form errors need to be able to display more than one message
Several issues need fixing: 1. html_options[:class] could be a string or an array 2. A form input can have multiple errors, which should not be hidden in a "Show more" link 3. In this case, the "Show more" link wasn't hooked up to expand the details div... need to make sure the JS to do that runs everywhere we write message details
Fixed in https://github.com/openshift/origin-server/pull/4885
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/acfb0cb488e18d2d5b5101b34a3f1c120b0427c1 Bug 1072185 - should not collapse message details when bound to a form input
Test on devenv_4472. Create a domain just using "", it returns "Invalid namespace. Namespace must only contain alphanumeric characters." and "Must be a minimum of 1 and maximum of 16 characters." such error message instead of "We appear to be having technical difficultie". So verify this bug. Thanks!