Community
Participate
Working Groups
As mentioned in the Summary I get the following code from the generator. The corresponding file ends with PropertiesEditingComponent.java if (isAccessible(messageViewsRepository.OUTPUTMESSAGETYPE.Properties.protocolType)) { basePart.initProtocolType((EEnum) messagePackage.eINSTANCE.getMESSAGETYPE_ProtocolType().getEType(), oUTPUTMESSAGETYPE.getProtocolType()); } When I change it to if (isAccessible(messageViewsRepository.OUTPUTMESSAGETYPE.Properties.protocolType)) { MESSAGEPROTOCOLTYPETYPE temp = oUTPUTMESSAGETYPE.getProtocolType(); if (temp == null) temp = MESSAGEPROTOCOLTYPETYPE.NOT_SPECIFIED; basePart.initProtocolType((EEnum) messagePackage.eINSTANCE.getMESSAGETYPE_ProtocolType().getEType(), temp); } it works okay. the NOT_SPECIFIED is not part of the enum but added by EMF if unsettable=true is set.
HI, can you provide us your ecore model to reproduce this problem ?
FIXED
I am closing this issue since Goulwen has determined that it was fixed.