Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: SSIA Version-Release number of selected component (if applicable): 5.6.0.10 How reproducible: Always Steps to Reproduce: 1. Automate > Add a New Domain 2. Enter "My Domain" as name 3. Click "Add" Actual results: Error message "Name is invalid". Expected results: Error message "Name is invalid (only ASCII alphanumeric characters allowed, no spaces)" or something similar. If we know what we expect, we might as well tell the user. Additional info: This applies to all the objects under Automate. Multiple flash messages should be fixed.
Flash error message displayed on the screen is coming from model code. Controller is calling .valid? method on domain/namespace record https://github.com/ManageIQ/manageiq/blob/master/app/controllers/miq_ae_class_controller.rb#L1326, and displaying error message returned from that call. ~Harpreet
https://github.com/ManageIQ/manageiq/pull/9527
Verified in 5.7.0.1. I received a message stating the allowed characters in the name.