6.0.0-beta1
7/5/25

[#9699] Error in Ingo Storage SQL
Summary Error in Ingo Storage SQL
Queue Ingo
Queue Version 2.0-RC1
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester noles (at) a3k (dot) net
Created 03/23/2011 (5218 days ago)
Due
Updated 03/23/2011 (5218 days ago)
Assigned
Resolved 03/23/2011 (5218 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch Yes

History
03/23/2011 09:58:42 AM Jan Schneider Assigned to Jan Schneider
State ⇒ Resolved
 
03/23/2011 09:58:36 AM Git Commit Comment #2 Reply to this comment
Changes have been made in Git for this ticket:

[jan] Fix updating forward rules in SQL driver (Bug #9699).

  3 files changed, 4 insertions(+), 4 deletions(-)
http://git.horde.org/horde-git/-/commit/8b7af5705ad06ffc41f9f141a4ebc52eb506891f
03/23/2011 01:48:09 AM noles (at) a3k (dot) net Comment #1
Priority ⇒ 1. Low
New Attachment: Sql.php.diff Download
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ Ingo
Summary ⇒ Error in Ingo Storage SQL
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
There is an error in ingo/lib/Storage/Sql.php in case self::ACTION_FORWARD:

On execute of  $ob->setForwardAddresses($data['a'], false) on line 105 
the function setForwardAddresses can not be found because $ob = new 
Ingo_Storage_Forward(); has not been set under the "elseif" statement.

I changed the position of $ob = new Ingo_Storage_Forward(); that it 
will be executed on top of the "if" statement.

see Patch

Saved Queries