Bug 636709 - Resource tree: should not be able to toggle favorites flag while on a folder
Summary: Resource tree: should not be able to toggle favorites flag while on a folder
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 4.0.0
Hardware: All
OS: Linux
medium vote
Target Milestone: ---
: ---
Assignee: RHQ Project Maintainer
QA Contact: Sunil Kondkar
Depends On:
Blocks: rhq4 gwt-tree
TreeView+ depends on / blocked
Reported: 2010-09-23 01:29 UTC by Corey Welton
Modified: 2013-09-02 07:16 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-09-02 07:16:30 UTC

Attachments (Terms of Use)

Description Corey Welton 2010-09-23 01:29:36 UTC
Description of problem:
If user is navigating a resource tree and clicks on a folder, hitting the favorites badge toggles - but not for the resource perhaps expected -- it toggles the favorites flag for the parent (or perhaps top-level) resource

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

How reproducible:

Steps to Reproduce:
1.  Navigate to a platform's resource tree.  Toggle the favorites badge.
2.  Click one of the folders underneath the platform -- for example, the "Hosts File" folder
3.  Click the favorites badge.
4. View results
Actual results:
The favorites flag gets toggled, but per the messages tray, the resource that is getting 'favorited' is the parent platform.  The confusion is compounded, in this case, since both the folder and the resource contained therein are named "Hosts File"

Expected results:
* Cannot toggle favorites when a folder is highlighted -OR-
* Perhaps clicking favorites while on a folder toggles the favorites flag for ALL resources within the folder?  Might be useful... and it can always be unselected.

Additional info:

Comment 1 Jay Shaughnessy 2011-02-14 15:26:48 UTC
The favorites flag is no longer presented for tree aggregates (autogroup or autocluster nodes).  This didn't really make sense given the temporary nature of the group membership. And led to fuzzy semantics.  Please re-test.

Comment 2 Mike Foley 2011-04-21 18:39:19 UTC
Verified that the favorites badge is not displayed for folders, and is displayed for items in the tree.  Tested folders, in general.  Verified.

Comment 3 Heiko W. Rupp 2013-09-02 07:16:30 UTC
Bulk closing of issues that were VERIFIED, had no target release and where the status changed more than a year ago.

Note You need to log in before you can comment on or make changes to this bug.