Bug 736416
Summary: | [webadmin] Hosts main tab: NICs sub tab: Actions | ||
---|---|---|---|
Product: | [Retired] oVirt | Reporter: | Einav Cohen <ecohen> |
Component: | ovirt-engine-webadmin | Assignee: | Einav Cohen <ecohen> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | unspecified | CC: | ecohen, iheim, ykaul |
Target Milestone: | m3 | ||
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:16 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
Einav Cohen
2011-09-07 16:11:11 UTC
Pre-integration ticket https://trac.qa.lab.tlv.redhat.com/trac/integration/ticket/458 Edit/Add Vlan = HostInterfaceView.xaml Edit Management Network = HostManagementNetworkView.xaml Bond = HostBondView.xaml This bug is currently blocked by HostInterfaceListModel setItems() issue. UpdateItems() creates List<HostInterfaceLineModel> from List<VdsNetworkInterface> and calls setItems(newList), which causes ClassCastException in SearchableListModel.setItems(), since HostInterfaceLineModel is not IVdcQueryable. Furthermore, it looks like HostInterfaceListModel treats "items" as collection of HostInterfaceLineModel, and "selectedItem" / "selectedItems" as VdsNetworkInterface. Our application assumes "items" are of same type as "selectedItem" / "selectedItems" and this causes another ClassCastException. HostInterfaceListModel should treat all items consistently. All issues related to HostInterfaceListModel items & selection have been resolved (by adapting to the custom item handling behavior). It is now possible to select rows in Host NIC table, with commands (action buttons) changing their "enabled" state appropriately according to selection. Update: Based on discussion with Gilad, Host NIC table will be, most likely, implemented as form-based sub tab, because it doesn't really fit the typical table widget strategy. - auto refresh will be disabled for HostInterfaceListModel - each refresh will clear any previous selections 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/ |