Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 325218 - overrides of templates in the same module should not be allowed
Summary: overrides of templates in the same module should not be allowed
Status: CLOSED FIXED
Alias: None
Product: Acceleo
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal
Target Milestone: ---   Edit
Assignee: Stephane Begaudeau CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-14 05:52 EDT by Laurent Delaigue CLA
Modified: 2010-09-14 08:43 EDT (History)
0 users

See Also:


Attachments
Patch v1.0 (2.63 KB, patch)
2010-09-14 08:43 EDT, 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 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