6.0.0-beta1
7/18/25

[#11491] PHP error when adding contact to Kolab address book
Summary PHP error when adding contact to Kolab address book
Queue IMP
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/10/2012 (4664 days ago)
Due
Updated 10/27/2012 (4647 days ago)
Assigned 10/13/2012 (4661 days ago)
Resolved 10/16/2012 (4658 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
10/27/2012 12:55:38 AM Git Commit Comment #8 Reply to this comment
Changes have been made in Git (develop):

commit 11b833734dd54656cd5e14c90d719078d01d42f3
Author: Jan Schneider <jan@horde.org>
Date:   Tue Oct 16 10:49:24 2012 +0200

     Route this explicitly too (Bug #11491).

  turba/lib/Driver/Share.php |   14 ++++++++++++++
  1 files changed, 14 insertions(+), 0 deletions(-)

http://git.horde.org/horde-git/-/commit/11b833734dd54656cd5e14c90d719078d01d42f3
10/16/2012 12:04:03 PM Thomas Jarosch Comment #7 Reply to this comment
Yep, works fine. Thanks.

10/16/2012 08:51:08 AM Jan Schneider State ⇒ Resolved
 
10/16/2012 08:50:51 AM Git Commit Comment #6 Reply to this comment
Changes have been made in Git (master):

commit 11b833734dd54656cd5e14c90d719078d01d42f3
Author: Jan Schneider <jan@horde.org>
Date:   Tue Oct 16 10:49:24 2012 +0200

     Route this explicitly too (Bug #11491).

  turba/lib/Driver/Share.php |   14 ++++++++++++++
  1 files changed, 14 insertions(+), 0 deletions(-)

http://git.horde.org/horde-git/-/commit/11b833734dd54656cd5e14c90d719078d01d42f3
10/13/2012 03:41:15 PM Thomas Jarosch Comment #5 Reply to this comment
Same error message on move of a contact between addressbooks.

I'll skip testing turba until this is fixed.

10/13/2012 03:37:02 PM Thomas Jarosch Comment #4 Reply to this comment
I created a new contact and filled in my firstname, lastname and 
pressed save.
Modification of the broken contact works though.

10/13/2012 03:35:37 PM Thomas Jarosch Comment #3
State ⇒ Assigned
Reply to this comment
The latest code seems worse :o)

2012-10-13T17:32:11+02:00 WARN: HORDE [turba] PHP ERROR: array_map() 
[<a href='function.array-map'>function.array-map</a>]: Argument #2 
should be an array [pid 19012 on line 78 of 
"/datastore/DEVEL/horde/framework/Kolab_Format/lib/Horde/Kolab/Format/Xml/Type/String/Empty/List.php"]
2012-10-13T17:32:11+02:00 WARN: HORDE [turba] PHP ERROR: implode() [<a 
href='function.implode'>function.implode</a>]: Invalid arguments 
passed [pid 19012 on line 79 of 
"/datastore/DEVEL/horde/framework/Kolab_Format/lib/Horde/Kolab/Format/Xml/Type/String/Empty/List.php"]


I created a new contact and filled in my firstname, lastname and pressed save.
The names weren't saved, the XML fields in the generated Kolab e-mail 
are empty.

I've verified my config is current and there are no modifications in 
backends.php / attributes.php.

10/11/2012 03:24:13 PM Jan Schneider Comment #2
Assigned to Jan Schneider
State ⇒ Feedback
Reply to this comment
Should be fixed with the recent commits.
10/10/2012 01:33:39 PM Thomas Jarosch Comment #1
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ PHP error when adding contact to Kolab address book
Type ⇒ Bug
Reply to this comment
Hi,

when you add a new contact to a Kolab based address book,
you'll get this error in the logs:

2012-10-10T15:31:09+02:00 WARN: HORDE [turba] PHP ERROR: Invalid 
argument supplied for foreach() [pid 7309 on line 204 of 
"/datastore/DEVEL/horde/framework/Kolab_Format/lib/Horde/Kolab/Format/Xml/Type/Multiple.php"]

Thomas

Saved Queries