Description of problem: When inserting a new automate method, the validate button is enabled until the method code is touched. Then it disables and does not get enabled back. Version-Release number of selected component (if applicable): 5.9.0.1 How reproducible: always Steps to Reproduce: 1. Open the dialog to create a new method, select inline 2. See that the code editor has the default contents and the validate button is enabled 3. Modify the code Actual results: Validate button is disabled Expected results: Validate button is enabled Additional info: Detected by automation.
https://github.com/ManageIQ/manageiq-ui-classic/pull/2718
New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/07d5355c3dae689019b309e9b621f9d5cba561fb commit 07d5355c3dae689019b309e9b621f9d5cba561fb Author: Harpreet Kataria <hkataria> AuthorDate: Mon Nov 13 15:01:10 2017 -0500 Commit: Harpreet Kataria <hkataria> CommitDate: Mon Nov 13 15:54:27 2017 -0500 Fixed enable/disable of Validate button. Styling changes in https://github.com/ManageIQ/manageiq-ui-classic/pull/2004/ have caused `@edit[:new][:data]` value to be set to nil which disables Validate button on screen. https://bugzilla.redhat.com/show_bug.cgi?id=1499881 app/controllers/miq_ae_class_controller.rb | 2 ++ spec/controllers/miq_ae_class_controller_spec.rb | 33 ++++++++++++++++++++++++ 2 files changed, 35 insertions(+)