Community
Participate
Working Groups
When using the transformation "Kdm model from Java model", three kinds of warnings appear in .log generated (it does not prevent from creating the kdm model), caused by unmatched kdm elements for some java elements : - Cannot set feature codeElement to value [...java.emf.impl.SingleVariableAccessImpl] inter-model references are forbidden - Cannot set feature codeRelation to value [...java.emf.impl.AnnotationImpl inter-model references are forbidden - Cannot set feature parameterUnit to value [...java.emf.impl.SingleVariableDeclarationImpl To reproduce (2 of 3) : checkout "oegm.infra.common.core", and discover kdm model from it.
Moving to P2 because this is not critical.
Correction of "feature parameterUnit to ..." solved in revision 3667.
Correction of "feature codeElement to ..." solved in revision 3668. However, all element access should be managed in a different to no loose informations. In current implementation, there is a filter on TypeAccess, UnresolvedItemAccess and SingleVariableAccess. This filter should be removed: a way to transform these access in kdm has to be found.
Correction of "feature codeRelation to ..." solved in revision 3669. When we will move to version 1.2 of KDM, we should consider a new management of annotations.
Tests for this bug have been committed.
Bug fixed.