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

Re: 5.2.3 broke boolean conversions?


  • Subject: Re: 5.2.3 broke boolean conversions?
  • From: Greg Hulands <email@hidden>
  • Date: Tue, 20 Apr 2004 13:30:05 +1000

Change the class in EOModeller from Number to Boolean. When you save it will complain about init methods not been set. Don't worry. Regenerate the class so it changes the Number to Boolean and all should be sweet.

Greg

On 20/04/2004, at 12:19 PM, Deirdre Saoirse Moen wrote:

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.
_______________________________________________
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.


References: 
 >5.2.3 broke boolean conversions? (From: Deirdre Saoirse Moen <email@hidden>)

  • Prev by Date: Re: 5.2.3 broke boolean conversions?
  • Next by Date: Deployment - Logging/Tracing
  • Previous by thread: Re: 5.2.3 broke boolean conversions?
  • Next by thread: Fwd: 5.2.3 broke boolean conversions?
  • Index(es):
    • Date
    • Thread