6.0.0-beta1
7/10/25

[#13013] Don't crash on unknown 'migration' directory
Summary Don't crash on unknown 'migration' directory
Queue Horde Framework Packages
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 03/06/2014 (4144 days ago)
Due
Updated 03/06/2014 (4144 days ago)
Assigned
Resolved 03/06/2014 (4144 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch Yes

History
03/06/2014 11:25:05 AM Jan Schneider Assigned to Jan Schneider
State ⇒ Resolved
 
03/06/2014 11:25:00 AM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (master):

commit 3ca5f4c1476b2784033451c1f74aea329d16b5db
Author: Thomas Jarosch <thomas.jarosch@intra2net.com>
Date:   Fri Mar 7 11:25:55 2014 +0100

     Don't crash on unknown 'migration' directories

     Fixes this error:

     PHP Fatal error:  Call to a member function getName() on a non-object in
     /datastore/DEVEL/framework/Core/lib/Horde/Core/Db/Migration.php on line 91

     Signed-off-by: Jan Schneider <jan@horde.org>
     Bug: 13013

  framework/Core/lib/Horde/Core/Db/Migration.php |   10 ++++++++--
  1 files changed, 8 insertions(+), 2 deletions(-)

http://git.horde.org/horde-git/-/commit/3ca5f4c1476b2784033451c1f74aea329d16b5db
03/06/2014 10:30:29 AM Thomas Jarosch Comment #1
Priority ⇒ 1. Low
New Attachment: 0001-Don-t-crash-on-unknown-migration-directories.patch Download
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ Don't crash on unknown 'migration' directory
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
If you have a 'migration' directory inside your pear 'data_dir',
horde will crash with a white screen of death.

Attached patch fixes the issue.

Saved Queries