[Tickets #2596] Empty inbox when any IMP preferences are saved in the MySQL backend

bugs@bugs.horde.org bugs at bugs.horde.org
Tue Sep 13 10:21:17 PDT 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=2596
-----------------------------------------------------------------------
 Ticket             | 2596
 Updated By         | krustev at krustev.net
 Summary            | Empty inbox when any IMP preferences are saved in the MySQL backend
 Queue              | IMP
 Version            | 4.0.3
 State              | Feedback
 Priority           | 2. Medium
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


krustev at krustev.net (2005-09-13 10:21) wrote:

--- horde-prefs.php.dist        Tue Sep 13 20:16:01 2005
+++ horde-prefs.php     Tue Sep 13 20:16:01 2005
@@ -420,7 +420,7 @@

 // what application should we go to after login?
 $_prefs['initial_application'] = array(
-    'value' => 'horde',
+    'value' => 'imp',
     'locked' => false,
     'shared' => true,
     'type' => 'select',

*********************************

--- imp-prefs.php.dist  Tue Sep 13 20:16:02 2005
+++ imp-prefs.php       Tue Sep 13 20:16:02 2005
@@ -6,7 +6,7 @@
  */

 // Make sure that constants are defined.
- at define('IMP_BASE', dirname(__FILE__) . '/..');
+ at define('IMP_BASE', '/usr/share/horde3/imp');
 require_once IMP_BASE . '/lib/IMP.php';

 $prefGroups['identities'] = array(
@@ -268,7 +268,7 @@
 $_prefs['trash_folder'] = array(
 // for Exchange, uncomment the entry below and remove the default value
entry
 //    'value' => 'Deleted Items',
-    'value' => 'trash',
+    'value' => 'Trash',
     'locked' => false,
     'shared' => false,
     'type' => 'implicit');
@@ -422,7 +422,7 @@

 // compose in a separate window?
 $_prefs['compose_popup'] = array(
-    'value' => 1,
+    'value' => 0,
     'locked' => false,
     'shared' => false,
     'type' => 'checkbox',
@@ -717,7 +717,7 @@
 // them as deleted?
 // a value of 0 = no, 1 = yes
 $_prefs['use_trash'] = array(
-    'value' => 0,
+    'value' => 1,
     'locked' => false,
     'shared' => false,
     'type' => 'checkbox',
@@ -867,7 +867,7 @@

 // which page to start on when opening mailbox
 $_prefs['mailbox_start'] = array(
-    'value' => IMP_MAILBOXSTART_FIRSTUNSEEN,
+    'value' => IMP_MAILBOXSTART_FIRSTPAGE,
     'locked' => false,
     'shared' => false,
     'type' => 'enum',
@@ -881,7 +881,7 @@
 // user preferred sorting column
 $_prefs['sortby'] = array(
     'value' => SORTARRIVAL,
-    'locked' => false,
+    'locked' => true,
     'shared' => false,
     'type' => 'enum',
     'enum' => array(SORTARRIVAL => _("Arrival Time"),
@@ -895,8 +895,8 @@

 // user preferred sorting direction
 $_prefs['sortdir'] = array(
-    'value' => 0,
-    'locked' => false,
+    'value' => 1,
+    'locked' => true,
     'shared' => false,
     'type' => 'enum',
     'enum' => array(0 => _("Ascending"),
@@ -941,8 +941,8 @@

 // expand folder tree by default
 $_prefs['nav_expanded'] = array(
-    'value' => 0,
-    'locked' => false,
+    'value' => 1,
+    'locked' => true,
     'shared' => false,
     'type' => 'enum',
     'enum' => array(0 => _("No"),
@@ -953,7 +953,7 @@
 // list of folders to expand by default
 $_prefs['expanded_folders'] = array(
     'value' => 'a:0:{}',
-    'locked' => false,
+    'locked' => true,
     'shared' => false,
     'type' => 'implicit');

*****************

Several of the differences in IMP's prefs.php are because I've tried
disabling saving of some options, just to see if any of them was causing the
problem.




More information about the bugs mailing list