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

Bug 325218

Summary: overrides of templates in the same module should not be allowed
Product: [Modeling] Acceleo Reporter: Laurent Delaigue <laurent.delaigue>
Component: CoreAssignee: Stephane Begaudeau <stephane.begaudeau>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
Patch v1.0 none

Description Laurent Delaigue CLA 2010-09-14 05:52:32 EDT
Build Identifier: 3.0.0.v201006150906

It should not be allowed to use overrides on templates contained in a module that does not extend anything.
Additionally, it overriding templates should mask all the templates of the same name that exist in the extended module (whatever their guard conditions), and it must be possible to have several templates with the same name that override (with different guard conditions). Only the overriding templates should be taken into account at runtime.


Reproducible: Always
Comment 1 Stephane Begaudeau CLA 2010-09-14 08:43:04 EDT
Created attachment 178819 [details]
Patch v1.0

Patch
Comment 2 Stephane Begaudeau CLA 2010-09-14 08:43:40 EDT
Contributed and available in Acceleo 3.1.0 M2