Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367171 - Changing generation result
Summary: Changing generation result
Status: RESOLVED FIXED
Alias: None
Product: EEF
Classification: Modeling
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal
Target Milestone: ---   Edit
Assignee: Bouchet Stéphane CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-20 06:02 EST by William Piers CLA
Modified: 2016-05-05 10:27 EDT (History)
1 user (show)

See Also:


Attachments
the fix for control.mtl conditions (3.79 KB, patch)
2011-12-20 06:02 EST, William Piers CLA
sbouchet: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description William Piers CLA 2011-12-20 06:02:05 EST
A class generated in the non regression test, OwnerPropertiesEditionComponent, changes when regenerating. It appears that the change is not always the same.

It comes from the validFor*** conditions in the referenceTableControl.mtl file : 
the conditions sometimes covers other ones, so Acceleo choose randomly on of the templates which validates the conditions.

Adding parenthesis in the conditions solves the problem (see attached patch).
Comment 1 William Piers CLA 2011-12-20 06:02:44 EST
Created attachment 208601 [details]
the fix for control.mtl conditions
Comment 2 Bouchet Stéphane CLA 2012-01-04 12:09:34 EST
applied on HEAD.