6.0.0-beta1
7/8/25

[#4520] convert_imp_filters not working
Summary convert_imp_filters not working
Queue Ingo
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org, slusarz (at) horde (dot) org
Requester dgehl (at) inverse (dot) ca
Created 10/13/2006 (6843 days ago)
Due
Updated 09/06/2017 (2862 days ago)
Assigned 10/13/2006 (6843 days ago)
Resolved 11/24/2006 (6801 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
09/06/2017 08:17:28 AM Git Commit Comment #3 Reply to this comment
Changes have been made in Git (master):

commit c486b8df9e217f71c16c47be367fc373ca2049d1
Author: bertrand Gugger <toggg@php.net>
Date:   Sat Jul 16 08:13:43 2005 +0000

     Request #4520          Additional space confuses image tag, adapted regexp


     git-svn-id: 
https://svn.php.net/repository/pear/packages/Text_Wiki/trunk@190778 
c90b9560-bf6c-de11-be94-00142212c4b1

  Text/Wiki/Parse/Default/Image.php | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

http://github.com/horde/horde/commit/c486b8df9e217f71c16c47be367fc373ca2049d1
11/24/2006 07:26:29 AM Michael Slusarz Comment #2
State ⇒ Resolved
Reply to this comment
Fixed in HEAD and 1.1.3.
10/13/2006 08:44:59 PM Jan Schneider Assigned to Jan Schneider
 
10/13/2006 07:02:19 PM Chuck Hagenbuch State ⇒ Assigned
Assigned to Michael Slusarz
 
10/13/2006 12:19:12 PM dgehl (at) inverse (dot) ca Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ convert_imp_filters not working
Queue ⇒ Ingo
State ⇒ Unconfirmed
Reply to this comment
Running convert_imp_filters.php generates the following error message



Oct 12 14:01:19 HORDE [error] [ingo] Failed retrieving prefs for : DB 
Error: unknown error [on line 251 of 
"/usr/share/pear/Horde/Prefs/sql.php"]



This is due to the fact that Ingo::getUser() returns an empty string 
instead of the username which is currently migrated.





The following diff (inspired by the way convert_prefs_to_sql.php 
works) fixes the problem:



44a45,47
/* Initialize authentication backend. */
$auth = &Auth::singleton($conf['auth']['driver']);
50a54,57
     if (empty($user)) {
         continue;
     }
52a60,62
     $auth->setAuth($user, array());
     $_SESSION['ingo']['current_share'] = ':' . $user;

Saved Queries