Bug 832139
Summary: | webadmin: Cluster sub-tabs are (wrongfully) displayed in the Templates main tab | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] oVirt | Reporter: | Sharad Mishra <snmishra> | ||||
Component: | ovirt-engine-webadmin | Assignee: | Vojtech Szocs <vszocs> | ||||
Status: | CLOSED WONTFIX | QA Contact: | |||||
Severity: | low | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 3.1 RC | CC: | acathrow, dfediuck, dyasny, ecohen, iheim, mgoldboi, vszocs | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | infra | ||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-12-25 07:06:44 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Sharad Mishra
2012-06-14 16:08:48 UTC
Gilad: Note that this bug has been discovered on an oVirt version that includes your fix: http://gerrit.ovirt.org/#/c/4351/, so this needs to be checked. that's a strange bug, the template tab contains the cluster tab's sub tabs. not related to edit policy. will investigate. (In reply to comment #2) > that's a strange bug, the template tab contains the cluster tab's sub tabs. > > not related to edit policy. will investigate. Only now realized that the displayed main tab is the Templates one and not the Clusters one... this is the real bug. changing subject accordingly. the real problem here is that the Cluster's "General" sub-tab is displayed within the Templates main tab. After consulting with Gilad, it seems that due to an NPE, the sub-tabs aren't being refreshed appropriately. Needs to be investigated. (In reply to comment #2) > that's a strange bug, the template tab contains the cluster tab's sub tabs. > > not related to edit policy. will investigate. Vojtech, I guess we can reach this scenario if we get a NPE or some other error. do you have any idea how to prevent it? WebAdmin main and sub tab content areas are updated independently (they are bound to different GWTP places). For example, URL #vms will update main tab content area, and also hide sub tab content area (since initially there is no selection in the table). On the other hand, URL #vms-general will update sub tab content area. Whenever user selects something in the main table, GWTP place redirects to sub tab token to update sub tab content. Most likely, as Gilad points out, this is caused by exception: 1. user is on Clusters main tab, with Cluster General sub tab being visible 2. user does something that reveals Templates main tab 3. exception in Templates main tab (presenter) breaks UI -> exception is thrown before AbstractMainTabWithDetailsPresenter.onReveal() is reached I agree, we should prevent this from happening. Need to investigate this, as this is most likely on GWTP presenter lifecycle method level.. Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug. |