[OGo-GNUstep-Port] postgresql adapter exception while entering a project
Helge Hess
gnustep-port@opengroupware.org
Mon, 4 Jun 2007 18:54:19 +0200
On Jun 4, 2007, at 06:55, Sebastian Reitenbach wrote:
> This is the outcome:
>
> 2007-06-04 06:43:09.312 ogo-webui-1.1[1563]
> sope/sope-gdl1/PostgreSQL/NSNumber+PGVal.m: here in
> GNUSTEP_BASE_LIBRARY!!!
> self class: NSIntNumber
> 2007-06-04 06:43:09.312 ogo-webui-1.1[1563]
> sope/sope-gdl1/PostgreSQL/NSNumber+PGVal.m: not a
> GNUSTEP_BASE_LIBRARY!!!
>
>
> obviously if ([self isKindOfClass:BoolClass])
> return [self boolValue] ? @"1" : @"0";
>
> doesn't work.
Hm, just checked, should be NSBoolNumber. I suppose your log is from
a real int number.
Helge
--
Helge Hess
http://www.helgehess.eu/