Cannot open the 'add' dialog after saving a new DC.
Happens because getWindow() != null within DataCenterListModel.New(), after trying to open "New DC" dialog
Root cause of this issue:
after creating new DC, the "window" property is changed to DataCenterGuideModel (another dialog as part of new DC dialog)
popup bound to DataCenterGuideModel isn't implemented yet (DataCenterModule.getDataCenterListProvider.onWindowModelChange) and therefore isn't handled properly
because of this, the "window" property retains the reference to DataCenterGuideModel, this breaks subsequent attempts to show dialogs
To fix this issue, popup PresenterWidget/View bound to DataCenterGuideModel needs to be implemented, and handled within DataCenterModule.getDataCenterListProvider.onWindowModelChange method
Alternatively, we can call getModel().setWindow(null) for unsupported dialog models (e.g. DataCenterGuideModel) within the onWindowModelChange() method.
This will nullify the "window" property and ensure that methods showing dialogs (e.g. DataCenterListModel's New or Edit) will pass.
This issue has been addressed by patch "webadmin: Handle missing dialogs gracefully" (pending review/ack).
fixed in commit d5518948763d59b9d945ecb34bab0ba0067e98f2
closing ON_QA bugs as oVirt 3.1 was released: