Bug 814217

Summary: [userportal] NPEs after sign out
Product: [Retired] oVirt Reporter: Vojtech Szocs <vszocs>
Component: ovirt-engine-userportalAssignee: Vojtech Szocs <vszocs>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: high    
Version: unspecifiedCC: acathrow, dyasny, iheim, mgoldboi, tjelinek, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ux
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-17 13:31:47 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:

Description Vojtech Szocs 2012-04-19 11:50:01 UTC
In UserPortal, after signing out, there are some NPEs thrown periodically within the login section, until the user logs in again.

This is because UserPortal's main models [UPBasicListModel, UPListModel, UPTemplateListModel] don't have their refresh timers stopped upon logout.

In WebAdmin, this is achieved via CommonModel, which calls EnsureAsyncSearchStopped on its main models. In UserPortal, there is no CommonModel, and therefore we need to call EnsureAsyncSearchStopped manually on UserPortal main models.

Comment 1 Tomas Jelinek 2012-05-17 13:31:47 UTC
This has been fixed in git: f3e4892d115da95e9f44e0d09c0c073c7eacc62b