[OGo-GNUstep-Port] postgresql adapter exception while entering a project
Sebastian Reitenbach
gnustep-port@opengroupware.org
Sat, 09 Jun 2007 08:25:58 +0200
Hi Helge,
>
> So its consistent with libFoundation and GNUstep is different. But I
> wouldn't really consider returning YES as wrong. The question is why
> the SQL generator uses -description instead of processing the type of
> the number and doing the right thing in the specific context.
>
as I know now, both versions are correct, I think the best would be to add a
check in EOSQLQualifier.m, in the
- (id)initWithEntity:(EOEntity*)_entity
qualifierFormat:(NSString *)qualifierFormat, ...
{
method.
Would it work to check all members of the va_list in that method whether it
is kindOfClass:NSNumber, and if so, then replace it with a 0 or 1?
Don't know whether that would be a good idea, or would work at all...
kind regards
Sebastian