[ 
https://issues.apache.org/jira/browse/CAY-1223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711269#action_12711269
 ] 

Andrey Razumovsky commented on CAY-1223:
----------------------------------------

Could you provide some information about the scenario that lead to the error 
(and if possible, try to do the same with 3.0 modeler)?

> cayenneModeler Error
> --------------------
>
>                 Key: CAY-1223
>                 URL: https://issues.apache.org/jira/browse/CAY-1223
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Cayenne Examples
>         Environment: Vista
>            Reporter: David Richardson
>            Priority: Minor
>
> CayenneModeler Info
> Version: 2.0.4
> Build Date: October 8 2007
> Exception: 
> =================================
> java.lang.IllegalArgumentException: Relationship name conflict with existing 
> attribute 'artist
>       at org.apache.cayenne.map.Entity.addRelationship(Entity.java:190)
>       at 
> org.apache.cayenne.util.EntityMergeSupport.synchronizeWithDbEntity(EntityMergeSupport.java:154)
>       at 
> org.apache.cayenne.modeler.action.CreateObjEntityAction.createObjEntity(CreateObjEntityAction.java:99)
>       at 
> org.apache.cayenne.modeler.action.CreateObjEntityAction.performAction(CreateObjEntityAction.java:62)
>       at 
> org.apache.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:163)
>       at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
>       at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
>       at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
>       at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
>       at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown 
> Source)
>       at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
>       at java.awt.Component.processMouseEvent(Unknown Source)
>       at javax.swing.JComponent.processMouseEvent(Unknown Source)
>       at java.awt.Component.processEvent(Unknown Source)
>       at java.awt.Container.processEvent(Unknown Source)
>       at java.awt.Component.dispatchEventImpl(Unknown Source)
>       at java.awt.Container.dispatchEventImpl(Unknown Source)
>       at java.awt.Component.dispatchEvent(Unknown Source)
>       at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
>       at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
>       at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
>       at java.awt.Container.dispatchEventImpl(Unknown Source)
>       at java.awt.Window.dispatchEventImpl(Unknown Source)
>       at java.awt.Component.dispatchEvent(Unknown Source)
>       at java.awt.EventQueue.dispatchEvent(Unknown Source)
>       at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
>       at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
>       at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
>       at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>       at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>       at java.awt.EventDispatchThread.run(Unknown Source)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to