6.0.0-beta1
8/10/25

[#14251] Horde logs error notice "undefined variable: collection"
Summary Horde logs error notice "undefined variable: collection"
Queue Horde Framework Packages
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester piper (at) hrz (dot) uni-marburg (dot) de
Created 02/12/2016 (3467 days ago)
Due
Updated 02/18/2016 (3461 days ago)
Assigned 02/12/2016 (3467 days ago)
Resolved 02/12/2016 (3467 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
02/18/2016 05:54:42 AM piper (at) hrz (dot) uni-marburg (dot) de Comment #4 Reply to this comment
Hello Michael,
Horde_ActiveSync 2.31.2
After upgrading to Horde_Active_Sync 2.31.2 the log now shows lots of 
these entries:

NOTICE: HORDE-5.2.9 PHP ERROR: Undefined index: type [pid 21397 on 
line 529 of 
"/var/www/horde-5.2.9/pear/php/Horde/ActiveSync/Collections.php"]

Thanks for your help,
Andreas
02/12/2016 01:16:26 PM Michael Rubinsky Comment #3
State ⇒ Resolved
Reply to this comment
Horde_ActiveSync 2.31.2
02/12/2016 01:15:41 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (master):

commit 32ab36bf9c7f69d56b5e952d2f999a568608bc4f
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Fri Feb 12 08:14:26 2016 -0500

     Bug: 14251 Fix copy/paste error.

  .../lib/Horde/ActiveSync/Collections.php           |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)

http://github.com/horde/horde/commit/32ab36bf9c7f69d56b5e952d2f999a568608bc4f
02/12/2016 11:03:29 AM Jan Schneider State ⇒ Assigned
Assigned to Michael Rubinsky
 
02/12/2016 09:45:22 AM piper (at) hrz (dot) uni-marburg (dot) de Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Horde logs error notice "undefined variable: collection"
Due ⇒ 02/12/2016
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
Hello,

since the upgrade to horde-5.2.9 / Horde_ActiveSync-2.31.1 there are 
logged lots of these error entries on NOTICE-level:

NOTICE: HORDE-5.2.9 PHP ERROR: Undefined variable: collection [pid 
24855 on line 528 of 
"/var/www/horde-5.2.9/pear/php/Horde/ActiveSync/Collections.php"]

As the corresponding function 'getCollectionType()' seems to be newly 
introduced to the code, could you please check if there are missing 
some pre-definitions or if it maybe should be called only for special 
cases.

Thanks for your help.

Andreas

Saved Queries