Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 323215 - Refactoring and references search problem
Summary: Refactoring and references search problem
Status: CLOSED FIXED
Alias: None
Product: Acceleo
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-20 03:10 EDT by Stephane Begaudeau CLA
Modified: 2011-10-12 05:18 EDT (History)
0 users

See Also:


Attachments
Patch v1.0 (4.14 KB, patch)
2010-08-20 03:28 EDT, Stephane Begaudeau CLA
mariot.chauvin: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stephane Begaudeau CLA 2010-08-20 03:10:21 EDT
Build Identifier: 

If you have two module like this :

[module A...]
[query public myQuery(s: String):String/]

[module B...]
[query public myQuery(s: String):String/]

During the refactoring or during the reference search, the two queries are considered as equals. And if you look for all references to the first one, you will end with references for both and if you rename the first one with the refactoring process both will be renamed. The same problem affects templates.

Reproducible: Always
Comment 1 Stephane Begaudeau CLA 2010-08-20 03:28:00 EDT
Created attachment 177067 [details]
Patch v1.0

Improve the detection of similar templates and queries.
Comment 2 Stephane Begaudeau CLA 2010-09-10 10:48:06 EDT
Contributed and available in Acceleo 3.0.1 RC4 and Acceleo 3.1.0 M2