Re: 5.2.3 broke boolean conversions?
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.