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

Bug 325763

Summary: Invalid qualified name for templates, queries and macros
Product: [Modeling] Acceleo Reporter: Stephane Begaudeau <stephane.begaudeau>
Component: CoreAssignee: Project Inbox <acceleo-inbox>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Patch v1.0 none

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.