• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
WO5.4: Bug serializing/deserializing EOAndQualifiers?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WO5.4: Bug serializing/deserializing EOAndQualifiers?


  • Subject: WO5.4: Bug serializing/deserializing EOAndQualifiers?
  • From: Tom Woteki <email@hidden>
  • Date: Fri, 16 Nov 2007 10:49:27 -0500

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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: WO5.4: Bug serializing/deserializing EOAndQualifiers?
      • From: Mike Schrag <email@hidden>
  • Prev by Date: Re: Deadlock
  • Next by Date: Re: Say Hello with 2 Problems^^
  • Previous by thread: Re: Slogan: and the winner is...
  • Next by thread: Re: WO5.4: Bug serializing/deserializing EOAndQualifiers?
  • Index(es):
    • Date
    • Thread