6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
9/24/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#2438] [PATCH] Fix for amavisd-sql constraint problem
*
Your Email Address
*
Spam protection
Enter the letters below:
.___.__ .___. ..___ [__ | \[__ |\/|[__ | |__/| | ||
Comment
> Hello, > > > > I'm not a PHP/PEAR/Horde expert, but attached is a patch I hacked up > to fix a constraint problem I was having with SAM. The problem is > that, when a user submits a whitelist, the existence of sender > addresses is only checked for addresses in the existing wblist and > not for new additions. If one user adds an address, and someone else > tries to add that same address, it breaks the unique index in the DB. > This patch simply checks for the existence of new addresses. If > found, it uses the current ID, otherwise it inserts as usual. > > > > Josh
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers