Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-325
Here is an overview of the issue:
---------------------------------------------------------------------
Key: CAY-325
Summary: Clicking Project Validation errors no longer brings up the offending object
Type: Bug
Status: Assigned
Priority: Minor
Project: Cayenne
Components:
CayenneModeler GUI
Versions:
1.2 [DEV]
Assignee: Andrus Adamchik
Reporter: Robert Zeigler
Created: Wed, 8 Jun 2005 1:44 AM
Updated: Wed, 8 Jun 2005 1:44 AM
Environment: Debian sid, java 1.4.2_01, cayenne 1.2M4
Description:
When saving (or validating) a project and errors occur, the following text is in the popup window:
"Click on any row below to go to the object that has a validation problem"
However, for some (many? all? Not sure yet, sorry) errors, this is no longer happening. Example: after deleting some database attributes and relationships, and also deleting the associated object attributes and relationships (or so I thought), I saved and received two "Db Relationship has no joins" errors.
Stack trace:
java.lang.ClassCastException
at org.objectstyle.cayenne.modeler.editor.DbEntityRelationshipTab.selectRelationship(DbEntityRelationshipTab.java:188)
at org.objectstyle.cayenne.modeler.editor.DbEntityTabbedView.currentDbRelationshipChanged(DbEntityTabbedView.java:159)
at org.objectstyle.cayenne.modeler.ProjectController.fireDbRelationshipDisplayEvent(ProjectController.java:1314)
at org.objectstyle.cayenne.modeler.dialog.validator.RelationshipErrorMsg.displayField(RelationshipErrorMsg.java:115)
at org.objectstyle.cayenne.modeler.dialog.validator.ValidatorDialog.showFailedObject(ValidatorDialog.java:232)
at org.objectstyle.cayenne.modeler.dialog.validator.ValidatorDialog$2.mouseClicked(ValidatorDialog.java:184)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:212)
at java.awt.Component.processMouseEvent(Component.java:5103)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3207)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://objectstyle.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
This archive was generated by hypermail 2.0.0 : Wed Jun 08 2005 - 01:46:18 EDT