Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331035 - Generated components are trying to update derived attributes
Summary: Generated components are trying to update derived attributes
Status: CLOSED FIXED
Alias: None
Product: EEF
Classification: Modeling
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal
Target Milestone: ---   Edit
Assignee: EEF Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-24 10:51 EST by Yann Mortier CLA
Modified: 2016-05-05 10:27 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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