Bug 1442736 - UI: "Save" button is still enabled when no server is selected in "Edit Management Engine Relationship" for VM/Instance
Summary: UI: "Save" button is still enabled when no server is selected in "Edit Manage...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.9.0
Assignee: Brian McLaughlin
QA Contact: Satyajit Bulage
URL:
Whiteboard: ui
Depends On:
Blocks: 1443243
TreeView+ depends on / blocked
 
Reported: 2017-04-17 10:14 UTC by Satyajit Bulage
Modified: 2018-03-06 15:32 UTC (History)
5 users (show)

Fixed In Version: 5.9.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1443243 (view as bug list)
Environment:
Last Closed: 2018-03-06 15:32:05 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Satyajit Bulage 2017-04-17 10:14:00 UTC
Description of problem:


Version-Release number of selected component (if applicable):5.8.0.10-beta1.20170411212748_e47d319 


How reproducible:100%


Steps to Reproduce:
1. Add any provider
2. Navigate to VM/Instance Summary Page
3. Click on Configuration --> Edit Management Engine Relationship
4. Select EVM server and again choose '<Not a Server>'

Actual results: "Save" button is still enabled when selection of EVM server has been reverted

Expected results: It should be disabled when EVM server selection has been reverted.


Additional info:

Comment 2 Harpreet Kataria 2017-04-17 19:50:53 UTC
Brian,

Need to reset server id back to nil when user selects '<Not a Server>' option in drop down. Let me know if you have questions.

Thanks,
~Harpreet

Comment 4 CFME Bot 2017-04-18 18:03:57 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/f7cdbdaedd7369d3249e38ed538ee9ad527d7dd1

commit f7cdbdaedd7369d3249e38ed538ee9ad527d7dd1
Author:     Brian McLaughlin <bmclaugh>
AuthorDate: Tue Apr 18 10:45:31 2017 -0400
Commit:     Brian McLaughlin <bmclaugh>
CommitDate: Tue Apr 18 10:45:31 2017 -0400

    Spec tests
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1442736

 spec/controllers/vm_common_spec.rb | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

Comment 5 CFME Bot 2017-04-18 18:04:02 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/479982418b0fb7db31a0ea61fb2c9646f11f643d

commit 479982418b0fb7db31a0ea61fb2c9646f11f643d
Author:     Brian McLaughlin <bmclaugh>
AuthorDate: Tue Apr 18 10:45:58 2017 -0400
Commit:     Brian McLaughlin <bmclaugh>
CommitDate: Tue Apr 18 10:45:58 2017 -0400

    Fix 'Save' button state in Edit Management Engine Relationship for VM/Instance
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1442736

 app/controllers/vm_common.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 7 Satyajit Bulage 2017-10-13 09:54:13 UTC
"Save" button is Disabled when selection of EVM server has been reverted.

Verified Version: 5.9.0.2.20171010190026_0413a06


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