[
http://jira.andromda.org/browse/CORE-148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bob Fields closed CORE-148.
---------------------------
Resolution: Fixed
Fix Version/s: 3.4-SNAPSHOT
There's still an issue with missing UML2 metafacade mappings, only 5 output
files are created by the jbpm cartridge against the migrated UML2 model. Also
an issue with mappings which does not cause failure: WARN [jbpm] Meta object
model class 'class org.omg.uml.foundation.core.TagDefinition$Impl' has no
corresponding meta facade class, default is being used --> 'class
org.andromda.metafacades.uml14.ModelElementFacadeLogicImpl'
> UML2 Metafacade mapping broken after recent patch to allow association to
> multiple UML implementation classes
> -------------------------------------------------------------------------------------------------------------
>
> Key: CORE-148
> URL: http://jira.andromda.org/browse/CORE-148
> Project: AndroMDA Core
> Issue Type: Bug
> Affects Versions: 3.4-SNAPSHOT
> Reporter: Bob Fields
> Assignee: Cyril Combe
> Fix For: 3.4-SNAPSHOT
>
>
> Build 221 2010-10-07T16:48:41 Patch provided by Benjamin Lerman. Now a
> MetafacadeMapping can be associated to multiple UML implementation classes.
> This is useful in the case where a Metafacade is mapped to multiple UML
> implementation class like for instance ClassifierFacade with the UML
> Interface and UML Class. This allows to have consistent mappings even in the
> case of multiple inheritance.
> This breaks the UML2 migrated versions of some of the test model. To
> reproduce, migrate the jbpm test model to UML2, modify jbpm cartridge test
> configuration to point to the UML2 model version. The error is:
> Main Exception .: Failed to construct a meta facade of type 'null' with
> mappingObject of type --> 'class
> org.eclipse.uml2.uml.internal.impl.PackageImpl'
> Root Exception .: org.andromda.core.metafacade.MetafacadeMappingsException:
> No mapping class could be found for
> 'org.andromda.cartridges.jbpm.metafacades.JBpmNodeLogicImpl'
> org.andromda.core.metafacade.MetafacadeMappingsException: No mapping class
> could be found for
> 'org.andromda.cartridges.jbpm.metafacades.JBpmNodeLogicImpl'
> at
> org.andromda.core.metafacade.MetafacadeUtils.getInheritedMappingClassNames(MetafacadeUtils.java:269)
> at
> org.andromda.core.metafacade.MetafacadeMapping.getMappingClassNames(MetafacadeMapping.java:76)
> ...
> The following mappings appear in the old 1:1 metafacade mapping with the
> exact same configuration, but not in the new update:
> org.andromda.cartridges.jbpm.metafacades.JBpmNodeLogicImpl=org.eclipse.uml2.uml.internal.impl.StateImpl
> org.andromda.cartridges.jbpm.metafacades.JBpmStateLogicImpl=org.eclipse.uml2.uml.internal.impl.VertexImpl
> org.andromda.cartridges.jbpm.metafacades.JBpmActionLogicImpl=org.eclipse.uml2.uml.internal.impl.ActivityImpl
> org.andromda.cartridges.jbpm.metafacades.JBpmTransitionLogicImpl=org.eclipse.uml2.uml.internal.impl.TransitionImpl
> org.andromda.cartridges.jbpm.metafacades.JBpmEndStateLogicImpl=org.eclipse.uml2.uml.internal.impl.FinalStateImpl
> org.andromda.cartridges.jbpm.metafacades.JBpmHandlerLogicImpl=org.eclipse.uml2.uml.internal.impl.OperationImpl
> I checked in some model updates which duplicates the problem, but did not
> enable because it would cause the build to break. To reproduce: modify
> cartridges\andromda-jbpm\conf\test\andromda.xml to comment out the uml14
> model and uncomment the emf-uml22 model configuration.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d