[ http://jira.andromda.org/browse/HIB-220?page=all ]
Bob Fields reassigned HIB-220: ------------------------------ Assign To: Bob Fields (was: Carlos Cuenca) I updated uml2 UmlUtilities to check both @andromda.whatever and andromda_whatever for taggedValues. Reproduced the problem with the model and verified the fix locally, committed the change. Unfortunately, there are no UML2 versions of the unit tests yet to find/verify these types of errors. The profiles will soon be updated so that everything is the same (andromda_whatever) so that only a single profile version needs to be maintained and all models and profiles can be migrated forward. That's the first step in easily maintaining multiple model versions, the next step will be to update the tests to handle multiple configurations and model types. When you download the latest 3.4-SNAPSHOT and verify the fix, the issue can be closed. > Some validation errors appear on 3.4-SNAPSHOT > --------------------------------------------- > > Key: HIB-220 > URL: http://jira.andromda.org/browse/HIB-220 > Project: Hibernate Cartridge > Type: Bug > Environment: andromda 3.4-SNAPSHOT > Reporter: Benjamin Lerman > Assignee: Bob Fields > Priority: Critical > Attachments: hibernate-tests.xml, singleEntityWithProblem.xml > > On the model I'll join, I have two validations errors. One about one-to-one > association that must have one side as primary, the second about the type of > generator that do not apply to string. > On the first case, I have one side of the association marked as primary with > stereotypes. > On the second, I have my Identify column marked with the Identify stereotype > with the andromda.persistence.assigned.identifier tagged value set to true. > This same model does not cause any validation error with andromda 3.3. > When I tried to check what is happening, at least for the first problem, it > seems that findTaggedValue( > HibernateProfile.TAGGEDVALUE_PERSISTENCE_ASSOCIATION_END_PRIMARY) in > handleIsOne2OnePrimary in > org.andromda.cartridges.hibernate.metafacades.HibernateAssociationEndLogicImpl > is returning null. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.andromda.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com