Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339537 - [Annotations] Annotation of artifacts in referenced modules will appear for all projects referencing the module
Summary: [Annotations] Annotation of artifacts in referenced modules will appear for a...
Status: VERIFIED FIXED
Alias: None
Product: Tigerstripe
Classification: Technology
Component: Annotations (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 major (vote)
Target Milestone: 0.5M0   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-10 10:33 EST by Navid Mehregani CLA
Modified: 2011-03-16 14:32 EDT (History)
1 user (show)

See Also:


Attachments
339537 patch (11.05 KB, patch)
2011-03-14 04:23 EDT, Anton Salnik CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Navid Mehregani CLA 2011-03-10 10:33:43 EST
Build Identifier: 

If you have two projects which declare a dependency on the same referenced module and if you annotate an artifact in the referenced module of the first project, then the annotation will also appear on the same artifact in the second project.

The scope of annotations should be project-based hence the above behaviour is incorrect.

Reproducible: Always

Steps to Reproduce:
1. Create three TS projects called: TS1, TS2, TS3
2. Create an entity in TS3 called E3
3. Export TS3 as a Tigerstripe module and copy it in TS1 and TS2
4. Modify the dependency of TS1 and TS2 to depend on the module jar of TS3
5. Under TS1, expand the reference module and annotate E3
6. Select E3 under TS2.  Notice that the annotation created in TS1 for E3 appears in TS2.  This is not correct, since the scope of annotations should be on a project-basis.
Comment 1 Anton Salnik CLA 2011-03-14 04:23:31 EDT
Created attachment 191085 [details]
339537 patch
Comment 2 Yuri Strot CLA 2011-03-14 06:53:44 EDT
Patch applied.
Comment 3 Navid Mehregani CLA 2011-03-16 14:32:09 EDT
Verified. Thanks!