6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/9/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#4984] invalid sql statement deleting in horde_stories
*
Your Email Address
*
Spam protection
Enter the letters below:
.___.__..__.. ..__ [__ | || ||_/ [__) [___|__||__|| \| \
Comment
> Function removeByNames() en lib/Horde/History.php builds an invalid > SQL statement (at least for PostgreSQL 7.3) when no $ids are found: > > > > Feb 8 12:11:18 rojo5 postgres[17100]: [1-1] LOG: statement: DELETE > > FROM horde_histories WHERE object_uid IN () > > Feb 8 12:11:18 rojo5 postgres[17100]: [2-1] ERROR: syntax error at or > > near ")" at character 50 > > > > Feb 8 12:25:41 rojo5 postgres[17773]: [1-1] LOG: statement: DELETE > > FROM horde_histories WHERE object_uid IN () > > Feb 8 12:25:41 rojo5 postgres[17773]: [2-1] ERROR: syntax error at or > > near ")" at character 50 > >
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