Bug 735759
Summary: | [webadmin] Cannot open the 'add' dialog after saving a new DC. | ||
---|---|---|---|
Product: | [Retired] oVirt | Reporter: | Asaf Shakarchi <asaf> |
Component: | ovirt-engine-webadmin | Assignee: | Einav Cohen <ecohen> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | unspecified | CC: | ecohen, iheim, vszocs, ykaul |
Target Milestone: | m2 | ||
Target Release: | 3.1 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-08-09 08:02:22 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Asaf Shakarchi
2011-09-05 10:05:29 UTC
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: http://www.ovirt.org/get-ovirt/ closing ON_QA bugs as oVirt 3.1 was released: http://www.ovirt.org/get-ovirt/ |