Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 317628

Summary: Expanded entries do not maintain the expanded path
Product: z_Archived Reporter: Joel Cayne <jcayne>
Component: TPTPAssignee: Joel Cayne <jcayne>
Status: CLOSED FIXED QA Contact: Kathy Chan <kathy>
Severity: normal    
Priority: P2 CC: ewchan, jgwest
Version: unspecifiedFlags: jcayne: review? (jgwest)
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: adopter
Attachments:
Description Flags
Patch to restore by treepath none

Description Joel Cayne CLA 2010-06-22 14:34:52 EDT
When implementing the customAnalysisView extension point. If a tree contains nodes that can be accessed from more than one path, the tree does not retain the path of the expanded node on refresh.

For example:
Before refresh:
- Node(id=1)
  - Node(id=a)
  - Other data for id=1
- Node(id=a)
  - Other data for id=a

After refresh:
- Node(id=1)
  - Node(id=a)
    - Other data for id=a
  - Other data for id=1
- Node(id=a)

Here Node(id=a) is expanded in another location than expected.
Comment 1 Joel Cayne CLA 2010-07-16 10:30:43 EDT
Created attachment 174498 [details]
Patch to restore by treepath
Comment 2 Joel Cayne CLA 2010-07-16 10:33:59 EDT
Jonathan,

Please review. Thanks!
Comment 3 Jonathan West CLA 2010-07-16 11:05:35 EDT
Patch checked into HEAD.
Comment 4 Joel Cayne CLA 2010-09-07 16:58:17 EDT
Closing.