6.0.0-alpha10
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
5/15/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#15162] Error on delete message with question mark in message-id
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..__ . ..___ . | |[__)\ /[__ | |__|| \ \/ [___\__|
Comment
> When we delete an email containing a message-id imp question mark it > does a delete in horde_histories based on the message_id. This calls > _replaceParameters at > > https://github.com/horde/Db/blob/58a35f6c57bab91d102bdc6bfdd6710ac0e3f674/lib/Horde/Db/Adapter/Base.php#L791 > > And fails the comparison raising an exception: > > $paramCount = substr_count($sql, '?'); > if (count($args) != $paramCount) { > $this->_logError('Parameter count mismatch: ' . $sql, > 'Horde_Db_Adapter_Base::_replaceParameters'); > throw new Horde_Db_Exception(sprintf('Parameter count > mismatch, expecting %d, got %d', $paramCount, count($args))); > } > >
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