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

Bug 324207

Summary: EMF 2.6 can't generate ValidationClass compatible with 2.4 runtime
Product: [Modeling] EMF Reporter: Felix Velasco <felix.velasco>
Component: ToolsAssignee: Dave Steinberg <davidms>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: adrianp.quatinus, Ed.Merks, hheitkoetter
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Proposed solution none

Description Felix Velasco CLA 2010-09-01 10:45:16 EDT
Build Identifier: 20100617-1415 

When a 2.4 targeted runtime is selected in a genmodel, and model code is generated, the Validator classes created call validate_EveryBidirectionalReferenceIsPaired, that's not available in 2.4

Reproducible: Always

Steps to Reproduce:
Select a target platform with EMF 2.4, select a target emf runtime level of 2.4, and generate code in a model with validators. The generated validator class won't compile
Comment 1 Felix Velasco CLA 2010-09-01 10:48:38 EDT
Created attachment 177964 [details]
Proposed solution

In GenClassImpl, only one of the three compatibility conditions is applied, even if several should.
Comment 2 Ed Merks CLA 2010-09-04 12:44:02 EDT
The fix is committed to CVS for 2.6
Comment 3 Ed Merks CLA 2010-09-09 12:15:57 EDT
*** Bug 324863 has been marked as a duplicate of this bug. ***
Comment 4 Ed Merks CLA 2010-09-17 12:15:28 EDT
*** Bug 325566 has been marked as a duplicate of this bug. ***
Comment 5 Ed Merks CLA 2010-11-05 05:41:32 EDT
The fix is available in the latest build for the stream.