6.0.0-alpha12
6/18/25

[#1579] Unique Name Finding Logic
Summary Unique Name Finding Logic
Queue Wicked
Type Bug
State Resolved
Priority 1. Low
Owners eraserhd (at)
Requester brian_d_martinez (at) raytheon (dot) com
Created 03/17/2005 (7398 days ago)
Due
Updated 05/30/2005 (7324 days ago)
Assigned 03/18/2005 (7397 days ago)
Resolved 05/30/2005 (7324 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
05/30/2005 08:56:07 PM Jan Schneider State ⇒ Resolved
 
05/30/2005 07:45:44 PM Chuck Hagenbuch Comment #2 Reply to this comment
Okay, I was wrong - we were just butchering the query to find old 
attachments, and thus never finding any. Fixed in CVS.
03/18/2005 03:35:23 AM Chuck Hagenbuch Assigned to eraserhd
State ⇒ Assigned
 
03/17/2005 09:36:06 PM brian_d_martinez (at) raytheon (dot) com Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Unique Name Finding Logic
Queue ⇒ Wicked
Reply to this comment
Basically, we need the same unique-name-finding logic implemented in Whups

implemented into Wicked to handle functions such as updating 
attachments.  At present,

when performing attachment updates, Wicked will return the following 
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"]

Saved Queries