Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 325763 - Invalid qualified name for templates, queries and macros
Summary: Invalid qualified name for templates, queries and macros
Status: CLOSED FIXED
Alias: None
Product: Acceleo
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 major
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-20 10:40 EDT by Stephane Begaudeau CLA
Modified: 2010-11-08 03:52 EST (History)
0 users

See Also:


Attachments
Patch v1.0 (1.28 KB, patch)
2010-11-08 03:52 EST, Stephane Begaudeau CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stephane Begaudeau CLA 2010-09-20 10:40:06 EDT
In a package named 'a.b.c', if we have a module 'd' containing a template 'e':

The qualified name of the module is a::b::c::d (which is correct)
The qualified name of the template/query is 'a::b::c::e' (the module is not used) it should be 'a::b::c::d::e'

Thus, if we have two modules with templates / queries that are using the same name, we cannot determine the correct template/query that we want to call or override.
Comment 1 Stephane Begaudeau CLA 2010-11-08 03:52:36 EST
Created attachment 182595 [details]
Patch v1.0

Committed on head and 3.0 maintenance.
The fix will be available in Acceleo 3.1.0 M3 and Acceleo 3.0.2.
Comment 2 Stephane Begaudeau CLA 2010-11-08 03:52:47 EST
fixed.