[Incidencias #15162] Error on delete message with question mark in message-id
noreply at bugs.horde.org
noreply at bugs.horde.org
Tue Feb 20 09:20:11 UTC 2024
NO CONTESTE A ESTE MENSAJE. ESTA DIRECCIÓN NO SE CONSULTA.
URL de la incidencia: https://bugs.horde.org/ticket/15162
------------------------------------------------------------------------------
Incidencia | 15162
Creada por | juanv.rodriguez at csic.es
Resumen | Error on delete message with question mark in message-id
Cola | Horde Base
Versión | FRAMEWORK_6_0
Tipo | Bug
Estado | Unconfirmed
Prioridad | 1. Low
Milestone |
Patch |
Propietarios |
------------------------------------------------------------------------------
juanv.rodriguez at csic.es (2024-02-20 09:20) escribió:
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)));
}
More information about the bugs
mailing list