Created attachment 1158306 [details] screensot Description of problem: webadmin Import VM dialog > in case no DC is active/up, the Data Center field is empty but the "Load" button is not greyed out. activating the Load action raised an uncaught exception. 1. screenshot attached. 2. ui log with the exception stack trace attached. Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1.make sure all Data Centers are not active. 2.Browse webadmin and navigate to virtual machines tab > import dialog 3.check that the Data Center field is empty. 4. click on the "Load" button. Actual results: an uncaught exception is raised. Expected results: the "Load" button should be greyed out in case no DC is active/selected for import. Additional info: 1. screenshot attached. 2. ui log with the exception stack trace attached.
Created attachment 1158307 [details] ui.log
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone.
Another problem: Load button is not disabled when importing from export domain there is no external domain. Clicking it causes frontend exception. Steps to reproduce: 1. Make sure there is no storage export domain. 2. Open Import VMs dialog (VM tab, Import toolbar button) 3. Select source "Export domain" 4. Click Load button Actual result: FE exception thrown (in browser console) Expected result: Load button is disabled. _________________________ Another problem: When Import VMs dialog is opened, "Source" is by default "Export domain". When there is no export domain in the system, error message should be shown. However it is only show then "Export domain" is reselected in "Source" dropbox. Steps to reproduce: 1. Make sure there is no storage export domain. 2. Open Import VMs dialog (VM tab, Import toolbar button) Actual result: No error message is shown. However when "Source" "Export domain" is reselected, it is shown. Expected result: Error message is shown right after opening the dialog.
still missing patch on ovirt-engine-3.6.7 branch.
ok, patch merged to 3.6.7, moving to modified
Verified on version: 3.6.7.5-0.1.el6 Verified that Errors message correctly with Data Centers not active and without Export domain