deleteObject
Baiss Magnusson <[email protected]> Sun, 30 Mar 2003 13:01:35 -0800
| Newsgroups | gmane.comp.web.webobjects.eof |
|---|---|
| Message-ID | <[email protected]> |
Why in just doing a basic <deleteObject> should NSArray be complaining about a class cast exception? I changed the delete action on the object in EOModeler from Nullify to No Action but that didn't help. <com.webobjects.appserver._private.WOComponentRequestHandler>: Exception occurred while handling request: NSForwardException [java.lang.ClassCastException] com.webobjects.foundation.NSArray: <deletePost> failed trying to delete a Post <WorkerThread8> NSForwardException for java.lang.ClassCastException: com.webobjects.foundation.NSArray at com.webobjects.foundation.NSArray._mutableComponentsSeparatedByString(NS Array.java:1130) at ...sqlStringForSchemaObjectName(EOSQLExpression.java:1885) at ..._aliasForRelatedAttributeRelationshipPath(EOSQLExpression.java:264) at ...joinExpression(EOSQLExpression.java:1168) at ...prepareSelectExpressionWithAttributes(EOSQLExpression.java:1033) at ...prepareSelectExpressionWithAttributes(JDBCExpression.java:273) at ...selectStatementForAttributes(EOSQLExpressionFactory.java:219) ---- Baiss Eric Magnusson <http://www.track-your-finances.com> Track-Your-Finances is a Web application that facilitates comprehensive expense tracking and financial management for families and individual users in a user-friendly and immediately accessible way.