6.0.0-beta1
7/6/25

[#14934] LDIF export broken
Summary LDIF export broken
Queue Turba
Queue Version FRAMEWORK_5_2
Type Bug
State Resolved
Priority 1. Low
Owners
Requester rene.marth (at) hetzner (dot) com
Created 07/02/2019 (2196 days ago)
Due
Updated 07/09/2019 (2189 days ago)
Assigned
Resolved 07/09/2019 (2189 days ago)
Github Issue Link
Github Pull Request
Milestone 4.2.26
Patch No

History
07/09/2019 09:28:17 PM Jan Schneider State ⇒ Resolved
Milestone ⇒ 4.2.26
 
07/09/2019 09:25:06 PM Git Commit Comment #4 Reply to this comment
Changes have been made in Git (master):

commit b3e51e031103c83b858de48aa60f7d47d69c79f1
Author: Jan Schneider <jan@horde.org>
Date:   Tue, 09 Jul 2019 23:24:54 +0200

[jan] Fix exporting contacts to LDIF (Bug #14934).

  M doc/changelog.yml
  M lib/Application.php

https://github.com/horde/turba/commit/b3e51e031103c83b858de48aa60f7d47d69c79f1
07/09/2019 09:23:31 PM Git Commit Comment #3 Reply to this comment
Changes have been made in Git (FRAMEWORK_5_2):

commit fe696e20491be83575d0e87d86f2b587532ec14b
Author: Jan Schneider <jan@horde.org>
Date:   Tue, 09 Jul 2019 23:23:08 +0200

[jan] Fix exporting contacts to LDIF (Bug #14934).

  M docs/CHANGES
  M package.xml

https://github.com/horde/turba/commit/fe696e20491be83575d0e87d86f2b587532ec14b
07/09/2019 09:23:31 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (FRAMEWORK_5_2):

commit ddd4d44067b52e72d988ef948f96bd0f5cb338ae
Author: Jan Schneider <jan@horde.org>
Date:   Tue, 09 Jul 2019 23:23:08 +0200

[jan] Fix exporting contacts to LDIF (Bug #14934).

  M docs/changelog.yml
  M lib/Application.php

https://github.com/horde/turba/commit/ddd4d44067b52e72d988ef948f96bd0f5cb338ae
07/02/2019 07:47:30 AM rene (dot) marth (at) hetzner (dot) com Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ LDIF export broken
Queue ⇒ Turba
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
Exporting an address book in LDIF format returns

A fatal error has occurred
Argument 1 passed to Horde_Data_Base::__construct() must be an 
instance of Horde_Data_Storage, array given, called in 
/var/www/turba/lib/Application.php on line 629

This is caused by turba's Application.php, calling 
Turba_Data_Ldif/Horde_Data_Base's constructor with an array. See
https://github.com/horde/turba/blob/FRAMEWORK_5_2/lib/Application.php#L626
and
https://github.com/horde/Data/blob/FRAMEWORK_5_2/lib/Horde/Data/Base.php#L93

Saved Queries