Hi:
I believe there is a bug in the serialization/deserialization of EOAndQualifiers in WO5.4. I'm wondering if anyone else has observed this before I file a bug.

I am porting an application verbatim from WO5.3 on 10.4.10 to WO5.4 on Leopard. The serialization code works perfectly in the WO5.3 environment but I get a ClassCastException

at com.webobjects.eocontrol.EOAndQualifier.readObject (EOAndQualifier.java:250)

when I perform the deserialization operation in 5.4/Leopard.

I am working with an EOAndQualifier that resembles this as a string:

        ((loginName = 'foobar') and (loginCount = '0'))

Upon deserializing the previously serialized version of this I get the exception noted above. If I merely change the "and" to "or" everything works fine.

I can formulate a workaround to this to solve my problem, but of course this doesn't fix the root cause bug I believe is present.

Has anyone else seen this?

Regards,
Tom



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to