| Summary: | [ovirt][webadmin]system events are flashing on each refresh | ||
|---|---|---|---|
| Product: | [Retired] oVirt | Reporter: | Moran Goldboim <mgoldboi> |
| Component: | ovirt-engine-webadmin | Assignee: | Vojtech Szocs <vszocs> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | ecohen, iheim |
| Target Milestone: | --- | ||
| 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 07:57:14 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Moran Goldboim
2011-10-23 15:22:41 UTC
If I understand correctly, the problem occurs when the user switches to "Events" main tab: event data is cleared before fetching fresh data from the backend. This might be related to UiCommon, going to check. The "clear-before-data-fetch" Event table behavior is due to EventListModel.SyncSearch() manually setting its items to an empty collection before starting the data refresh timer. WebAdmin model providers listen to item change events, and when "items" is not null (in our case, an empty collection), UI is refreshed according to "items". The reason why other main tabs are not cleared upon selection, is simply because "items" == null will not trigger UI refresh. Event main tab items no longer "flash" when selecting Event tab, given there was some data in the Event tab before. Code review request: http://gerrit.ovirt.org/223 closing ON_QA bugs as oVirt 3.1 was released: http://www.ovirt.org/get-ovirt/ |