Summary | Error log after INSERT is not right |
Queue | Ingo |
Queue Version | 3.2.10 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | mrubinsk (at) horde (dot) org |
Requester | ibon.igartua (at) ehu (dot) eus |
Created | 04/29/2016 (3355 days ago) |
Due | 04/29/2016 (3355 days ago) |
Updated | 10/20/2017 (2816 days ago) |
Assigned | 04/29/2016 (3355 days ago) |
Resolved | 05/03/2016 (3351 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
commit 3616080cd3e1a37a866ade6818799b25e08c89f3
Author: ibon.igartua@ehu.eus <ibon.igartua@ehu.eus>
Date: Mon, 02 May 2016 22:10:57 -0400
Bug: 14346Log the error, not the result.Signed-off-by: Michael J Rubinsky <mrubinsk@horde.org>
M lib/Storage/Sql.php
https://github.com/horde/ingo/commit/3616080cd3e1a37a866ade6818799b25e08c89f3
State ⇒ Resolved
https://github.com/horde/horde/commit/09d4df2289c9b5e3522f5d06348a7d501e3ae67b
State ⇒ Assigned
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Error log after INSERT is not right
Due ⇒ 04/29/2016
Queue ⇒ Ingo
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
in case of a db exception after the db INSERT is printing the result
of the query and not the error info.
I would suggest the following change at ingo/lib/Storage/Sql.php:238
< Horde::log($result, 'ERR');