[horde] primary keys in turba_objects

Francesco Consumi consumi at istitutodeglinnocenti.it
Fri Mar 5 07:27:50 PST 2004

Citazione Chuck Hagenbuch <chuck at horde.org>:

> Quoting Francesco Consumi <consumi at istitutodeglinnocenti.it>:
>> Everything is working well except Turba: quite every "unique" ID that turba
>> generates for records already exists in table "turba_objects"
>> Mar 05 09:46:41 HORDE [error] [turba] DB Error: already exists: INSERT INTO
>> turba_objects (object_name, object_email, owner_id, object_id, object_type)
>> VALUES ('xxxx', 'yyy at zzz.it', 'consumi', '6de441c0d8f9e991b44a3c116d3de35e',
>> 'Object') [nativecode=1062 ** Duplicate entry
>> '6de441c0d8f9e991b44a3c116d3de35e' for key 1] [on line 215 of
>> "/var/www/html/mail/horde/turba/lib/Driver/sql.php"]
>> how can I solve this problem ?
> Well, do those entries really already exist? Is object_id a VARCHAR field like
> it should be? Etc...

yes, they exists. Voila the row with the same ID of the above:

6de441c0d8f9e991b44a3c116d3de35e        buia    Object          [BLOB]  cristina
               jlbaroni at aol.com

object_id is a varchar(32).

More information about the horde mailing list