Re: attachment updates

Chuck Hagenbuch <[email protected]> Thu, 17 Mar 2005 13:24:22 -0500
Newsgroups gmane.comp.horde.wicked
Message-ID <[email protected]>
Quoting Brian Martinez <[email protected]>:

> 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
-- 
wicked mailing list - Join the hunt: http://horde.org/bounties/#wicked
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]