• 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
5.2.3 broke boolean conversions?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

5.2.3 broke boolean conversions?


  • Subject: 5.2.3 broke boolean conversions?
  • From: Deirdre Saoirse Moen <email@hidden>
  • Date: Mon, 19 Apr 2004 19:19:01 -0700

As generated before, which worked until upgrading to 5.2.3, this is a boolean field with a 'c' in the 4

    public Number inactive() {
        return (Number)storedValueForKey("inactive");
    }

When I re-generated the class, I got the same method.

Exception occurred while handling request:
java.lang.ClassCastException
[2004-04-19 19:08:59 PDT] <WorkerThread0> java.lang.ClassCastException
	at Panels.inactive(Panels.java:113)

According to the list of API differences, nothing has changed. But clearly that's not correct.

Question is, how to work around this?

--
_Deirdre http://deirdre.net
"Cannot run out of time. There is infinite time. You are finite. Zathras is finite. This....is wrong tool." -- Zathras
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.



  • Follow-Ups:
    • Re: 5.2.3 broke boolean conversions?
      • From: Greg Hulands <email@hidden>
    • Re: 5.2.3 broke boolean conversions?
      • From: Deirdre Saoirse Moen <email@hidden>
  • Prev by Date: Re: Validating WOUpload form element before submitting
  • Next by Date: Re: 5.2.3 broke boolean conversions?
  • Previous by thread: Permission issue
  • Next by thread: Re: 5.2.3 broke boolean conversions?
  • Index(es):
    • Date
    • Thread