• 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
Re: What is the best way to handle invalid values from a WOTextField?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is the best way to handle invalid values from a WOTextField?


  • Subject: Re: What is the best way to handle invalid values from a WOTextField?
  • From: Chuck Hill <email@hidden>
  • Date: Tue, 15 Jul 2008 21:59:00 -0700


On Jul 15, 2008, at 9:51 PM, Guido Neitzer wrote:

On 15.07.2008, at 18:36, Chuck Hill wrote:

I just tested this now and got a class cast exception in the released version of 5.4.2 when I typed a string into a text field with a formatter on it:

java.lang.ClassCastException: java.lang.String
[2008-7-15 17:19:11 PDT] <WorkerThread13> java.lang.ClassCastException: java.lang.String
at net .foo .core .searchfields.DateSearchField.qualifyOnValue(DateSearchField.java: 64)


That is just an out and out bug. I don't see how it can be fixed other than by replacing WOTextField

Reported as 6078428.

AFAIK, this renders 5.4.2 worthless to me. Well, unless someone patches it in Wonder. :-P I am not sure that I will bother yet.

Isn't there already something in Wonder that should fix this in ERXWOTextField? Not sure though, just checked briefly in the source.


It looks like ERXWOTextField is similar to the 5.3.3 implementation, so if you are using Wonder with this patched in as WOTextField then you won't have problems.

Thanks!

Chuck

--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects






_______________________________________________
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: What is the best way to handle invalid values from a WOTextField?
      • From: Lachlan Deck <email@hidden>
References: 
 >Re: What is the best way to handle invalid values from a WOTextField? (From: Lachlan Deck <email@hidden>)
 >Re: What is the best way to handle invalid values from a WOTextField? (From: Chuck Hill <email@hidden>)
 >Re: What is the best way to handle invalid values from a WOTextField? (From: Chuck Hill <email@hidden>)
 >Re: What is the best way to handle invalid values from a WOTextField? (From: Guido Neitzer <email@hidden>)

  • Prev by Date: Re: What is the best way to handle invalid values from a WOTextField?
  • Next by Date: Re: What is the best way to handle invalid values from a WOTextField?
  • Previous by thread: Re: What is the best way to handle invalid values from a WOTextField?
  • Next by thread: Re: What is the best way to handle invalid values from a WOTextField?
  • Index(es):
    • Date
    • Thread