Created attachment 1446425 [details] Screenshot of the incorrect zone being shown in the drop down Description of problem: The zone of a server cannot be changed. Additionally the zone dropdown on the server screen shows the earliest zone alphabetically, not the zone the server is currently assigned to. Version-Release number of selected component (if applicable): 5.10.0.0-pre-nightly.20180521142829_e1f695a How reproducible: Always Steps to Reproduce: 1. Create new zone named "abc" 2. Navigate to Server settings page 3. Observe that server is assigned to the default zone, but the dropdown shows "abc" 4. Attempt to change zone Actual results: Wrong zone is displayed and when the dropdown value is change the save button is not enabled. Expected results: Correct zone is displayed and zone new zone can be set. Additional info: I was able to reproduce this on ManageIQ master branch, ManageIQ nightly appliances, and the given CloudForms nightly build.
https://github.com/ManageIQ/manageiq-ui-classic/pull/4072
New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/22791d49184fa3feffabd407a47994b6bdeb5315 commit 22791d49184fa3feffabd407a47994b6bdeb5315 Author: Zita Nemeckova <znemecko> AuthorDate: Wed Jun 6 06:16:58 2018 -0400 Commit: Zita Nemeckova <znemecko> CommitDate: Wed Jun 6 06:16:58 2018 -0400 Make sure @edit[:current].config[:server][:zone] is set Current server never returns its zone in get_configso it has to be checked and set correctly Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1584851 app/controllers/ops_controller/settings/common.rb | 1 + spec/controllers/ops_controller/settings/common_spec.rb | 21 + 2 files changed, 22 insertions(+)
Verified on 5.10.0.1.