Bug 157776 - Visualiser displays each aspect twice
Summary: Visualiser displays each aspect twice
Status: RESOLVED FIXED
Alias: None
Product: AJDT
Classification: Tools
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 1.4.1   Edit
Assignee: Steve Young CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-19 06:38 EDT by Steve Young CLA
Modified: 2012-04-03 14:17 EDT (History)
1 user (show)

See Also:


Attachments
Fix and new test class. (39.77 KB, patch)
2006-09-29 06:22 EDT, Steve Young CLA
andrew.eisenberg: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Young CLA 2006-09-19 06:38:02 EDT
Selecting a project in the package explorer results in two columns being displayed in the visualiser for each aspect in the project.  Deselecting "Duplicate .aj file filter" in the project's "Java Element Filters" settings, results in the apparent source of the problem becoming visable in the package explorer: each aspect has two entries - one empty and one containing the child elements (the Aspect, its advice etc.).  Both link to the same file.

I've reproduced this behaviour consistently on Windows XP and Mac OS X, hence the "All" OS classification.
Comment 1 Matt Chapman CLA 2006-09-19 11:26:59 EDT
I'm surprised this hasn't been spotted until now. Need to filter out the duplicate  compilation units now created by JDT for .aj files (since we register .aj as a Java-like source content type, since Eclipse 3.2). We also need a test for this.
Comment 2 Venera Arnaoudova CLA 2006-09-20 18:28:55 EDT
This problem occurs only with the combination Eclipse 3.2, AJDT 1.4 and Visualiser 2.2.0
Comment 3 Steve Young CLA 2006-09-29 06:22:24 EDT
Created attachment 51160 [details]
Fix and new test class.
Comment 4 Steve Young CLA 2006-10-03 11:17:56 EDT
Now fixed in:
1.4.1.200610010506 for Eclipse 3.2 (build.208)
1.5.0.200609291338 for Eclipse 3.3M2 (build.44)