[wicked] Re: attachment updates

Chuck Hagenbuch chuck at horde.org
Thu Mar 17 10:24:22 PST 2005


Quoting Brian Martinez <martinez_brain at hotmail.com>:

> Debugging is now on...Here are the lines around the error:

Please open a ticket on bugs.horde.org if there is not one already. 
This is the relevant query/error:

> Mar 17 09:23:06 HORDE [debug] [wicked] DB Error: constraint violation:
> INSERT INTO wicked_attachments (page_id, attachment_majorversion,
> attachment_minorversion, change_log, change_author, attachment_created,
> attachment_name) VALUES ( 177, 1, 0, 'Final update', 'hordemgr', 1111076586,
> 'branching.vsd' ); [nativecode=1062 ** Duplicate entry '177-branching.vsd'
> for key 1] [on line 162 of "/usr/share/pear/Horde/Notification.php"]

Basically we need the same unique-name-finding logic that Whups has.

-chuck

-- 
"But she goes not abroad in search of monsters to destroy." - John 
Quincy Adams


More information about the wicked mailing list