Bug 672942

Summary: Unbadging a resource as a favorite results in it still appearing in status tray list
Product: [Other] RHQ Project Reporter: Corey Welton <cwelton>
Component: Core UIAssignee: Jay Shaughnessy <jshaughn>
Status: CLOSED CURRENTRELEASE QA Contact: Corey Welton <cwelton>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: ian.springer
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-24 01:08:57 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:
Bug Depends On:    
Bug Blocks: 672941    
Attachments:
Description Flags
screenshot
none
fixed - group favorite
none
fixed - individual resource favorite none

Description Corey Welton 2011-01-26 18:44:25 UTC
Description of problem:
If user creates a group, badges it as a favorite, it correctly appears in the 'dropdown' list in the status tray.  However, unbadging it does not result in its removal from the list.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.  Create a group in JON; navigate to group; click the "favorites" badge to add it to your favorites
2.  Navigate to the "Favorites ^" box in the status tray; note that resource appears in the list.
3.  Navigate to the resource again and click the badge again to remove it from favorites.
4. Return to the Favorites box in the status tray; observe results.
  
Actual results:
Group is not removed from status tray.

Expected results:
Group is removed.

Additional info:
This does not seem to be a problem with individual resources, only groups.

Comment 1 Corey Welton 2011-01-26 18:51:04 UTC
Created attachment 475465 [details]
screenshot

Note that after removing, resource still appears in list.

This screenshot may be slightly misleading, as I appear to be looking immediately after removing the resource.  However, I have waited some period of time and it doesn't go away.  It persists across logins.

Also note: I discovered that if you remove a resource, but then add a different resource, the initial one is finally cleared, and the new one is added.  But in the end you'll never be able to get rid of ALL favorites - there's always going to be something left over.

Comment 2 Corey Welton 2011-01-26 18:56:32 UTC
Actually, it appears that this _does_ occur with individual resources as well -- at least sometimes.

Comment 3 John Mazzitelli 2011-03-24 13:32:58 UTC
Created attachment 487329 [details]
fixed - group favorite

jay fixed this recently. see attached snapshots

Comment 4 John Mazzitelli 2011-03-24 13:33:16 UTC
Created attachment 487331 [details]
fixed - individual resource favorite

Comment 5 Corey Welton 2011-03-29 15:57:12 UTC
Verified

Comment 6 Corey Welton 2011-05-24 01:08:57 UTC
Bookkeeping - closing bug - fixed in recent release.