6.0.0-alpha10
5/15/25

[#11584] Kolab backend: Creation of task gives PHP warning
Summary Kolab backend: Creation of task gives PHP warning
Queue Nag
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester thomas.jarosch (at) intra2net (dot) com
Created 10/29/2012 (4581 days ago)
Due
Updated 01/24/2013 (4494 days ago)
Assigned 11/12/2012 (4567 days ago)
Resolved 01/24/2013 (4494 days ago)
Milestone
Patch Yes

History
01/24/2013 11:57:38 AM Jan Schneider State ⇒ Resolved
 
01/24/2013 11:57:04 AM Git Commit Comment #4 Reply to this comment
Changes have been made in Git (master):

commit 5dd073a663390a5bba56b61862689035b1bd9b82
Author: Thomas Jarosch <thomas.jarosch@intra2net.com>
Date:   Mon Dec 3 15:32:47 2012 +0100

     Fix cosmetic warnings when using the Kolab backend (Bug #11584)

     Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
     Signed-off-by: Jan Schneider <jan@horde.org>

  nag/lib/Driver/Kolab.php |    5 ++++-
  1 files changed, 4 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/5dd073a663390a5bba56b61862689035b1bd9b82
01/08/2013 10:52:04 AM Thomas Jarosch Comment #3 Reply to this comment
ping
12/03/2012 02:35:34 PM Thomas Jarosch Patch ⇒ Yes
 
12/03/2012 02:35:05 PM Thomas Jarosch Comment #2
New Attachment: 0001-Fix-cosmetic-warnings-when-using-the-Kolab-backend-B.patch Download
Reply to this comment
Attached patch fixes the issue.

11/12/2012 03:37:11 PM Thomas Jarosch State ⇒ Assigned
Assigned to Jan Schneider
 
10/29/2012 11:26:36 AM Thomas Jarosch Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Kolab backend: Creation of task gives PHP warning
Queue ⇒ Nag
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
Hi,

when you create a new task with the Kolab backend, these warnings are logged:

2012-10-29T12:24:23+01:00 WARN: HORDE [nag] PHP ERROR: array_diff() 
[<a href='function.array-diff'>function.array-diff</a>]: Argument #1 
is not an array [pid 17934 on line 774 of 
"/datastore/DEVEL/horde/nag/lib/Task.php"]
2012-10-29T12:24:23+01:00 WARN: HORDE [nag] PHP ERROR: Invalid 
argument supplied for foreach() [pid 17934 on line 55 of 
"/datastore/DEVEL/horde/nag/templates/list/_task.html.php"]

Cheers,
Thomas

Saved Queries