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

Bug 331035

Summary: Generated components are trying to update derived attributes
Product: [Modeling] EEF Reporter: Yann Mortier <yann.mortier>
Component: GeneralAssignee: EEF Inbox <emft.eef-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: goulwen.lefur
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Yann Mortier CLA 2010-11-24 10:51:02 EST
Build Identifier: 0.9.0.v20101119-1059

Generated components are trying to update derived attributes but there is no way to perform such operation.



Reproducible: Always

Steps to Reproduce:
1. Gets an ecore with some derived attributes (with a type that is a DataType that corresponds to a java.lang.String type)
2. Generates the components and eefgen model
3. Generates the code
4. See that the method XxxxPropertiesEditionComponent.updateSemanticModel(IPropertiesEditionEvent) has an instruction: xxxxx.setDerivedAttributeName((java.lang.String)EEFConverterUtil.createFromString(XxxxxPackage.eINSTANCE.getDataTypeName(), (String)event.getNewValue()));
Comment 1 Goulwen Le Fur CLA 2013-05-24 04:05:23 EDT
FIXED: in EEF 1.2 with CDO compatibility support