Re: DB Error: null value violates not-null constraint ...

Jan Schneider <[email protected]> Fri, 11 Jun 2004 21:40:25 +0200
Newsgroups gmane.comp.horde.sam
Message-ID <[email protected]>
Zitat von "Marc G. Fournier" <[email protected]>:

> On Fri, 11 Jun 2004, Jan Schneider wrote:
>
>> Zitat von "Marc G. Fournier" <[email protected]>:
>>
>>> Trying to save a 'hit level' of 5 to the database, nothing else set, I'm
>>> getting:
>>>
>>>    Cannot set options: DB Error: null value violates not-null constraint
>>>
>>> According to the backend:
>>>
>>>    ERROR:  null value in column "horde_id" violates not-null constraint
>>>
>>> This is SAM from CVS from around the beginning of May, so this might be
>>> something that has been since fixed ... ?
>>
>> Try it. I changed some driver code yesterday, maybe I catched it. Btw.
>> giving us some information that might help locating the problem would be
>> nice, e.g. the driver and configuration you use.
>
> never sure exactly what details to provide, sorry :(
>
> backend is a postgresql database ... 'spamd_sql' ... beyond that?

I just added some query logs to the spamd_sql driver. Update and tell us the
query that causes that error, if it still happens.

Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting.php
-- 
sam mailing list - Join the hunt: http://horde.org/bounties/#sam
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]