You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Henrique, this is just a placeholder issue for completeness. I know you're all over this, and the fix in your 1.3-SNAPSHOT-partials-fix worked.)
I want to write some WOUnit tests for a class that extends ERXPartialGenericRecord—that is, a "base entity" in the partial entities terminology. I have a simple User class in a model called Ident:
This test fails with the following (abridged) stack trace:
java.lang.ClassCastException: com.webobjects.eoaccess.EOEntityClassDescription cannot be cast to er.extensions.eof.ERXEntityClassDescription
at er.extensions.partials.ERXPartialGenericRecord._partialsDictionary(ERXPartialGenericRecord.java:40)
at er.extensions.partials.ERXPartialGenericRecord._partials(ERXPartialGenericRecord.java:64)
at er.extensions.partials.ERXPartialGenericRecord.awakeFromInsertion(ERXPartialGenericRecord.java:179)
at com.webobjects.eocontrol.EOEditingContext.insertObjectWithGlobalID(EOEditingContext.java:2871)
at er.extensions.eof.ERXEC.insertObjectWithGlobalID(ERXEC.java:976)
at com.webobjects.eocontrol.EOEditingContext.insertObject(EOEditingContext.java:2889)
at er.extensions.eof.ERXEC.insertObject(ERXEC.java:987)
at com.webobjects.eoaccess.EOUtilities.createAndInsertInstance(EOUtilities.java:862)
at net.logicsquad.access.model._User.createUser(_User.java:180)
at net.logicsquad.access.tests.UserTest.createUser(UserTest.java:20)
The text was updated successfully, but these errors were encountered:
(Henrique, this is just a placeholder issue for completeness. I know you're all over this, and the fix in your 1.3-SNAPSHOT-partials-fix worked.)
I want to write some WOUnit tests for a class that extends
ERXPartialGenericRecord
—that is, a "base entity" in the partial entities terminology. I have a simpleUser
class in a model calledIdent
:This test fails with the following (abridged) stack trace:
The text was updated successfully, but these errors were encountered: