[bugs] [Bug 962] New - LDAP preferences container: preferences are lost between applications

bugs@bugs.horde.org bugs@bugs.horde.org
Wed, 22 May 2002 22:42:06 -0300


http://bugs.horde.org/show_bug.cgi?id=962

*** shadow/962	Wed May 22 22:42:06 2002
--- shadow/962.tmp.696	Wed May 22 22:42:06 2002
***************
*** 0 ****
--- 1,187 ----
+ Bug#: 962
+ Product: Horde
+ Version: 2.1 Unstable
+ Platform: Mozilla 5.x
+ OS/Version: other
+ Status: NEW   
+ Resolution: 
+ Severity: normal
+ Priority: P2
+ Component: Core
+ Area: BUILD
+ AssignedTo: chuck@horde.org                            
+ ReportedBy: pj@ebrb.net               
+ URL: 
+ Summary: LDAP preferences container: preferences are lost between applications
+ 
+ Using horde, imp, turba from CVS using HEAD.
+ Setup to store the preferences in LDAP.
+ 
+ preferences values are "lost" depending upon where you go.
+ 
+ Upon login, my ldap replication log file has:
+ replace: hordePrefs
+ hordePrefs: horde:language:
+ hordePrefs: horde:theme:
+ hordePrefs: imp:summary_refresh_time:300
+ hordePrefs: horde:timezone:
+ hordePrefs: imp:mailbox:INBOX
+ hordePrefs: horde:identities:a:0:{}
+ hordePrefs: horde:default_identity:0
+ hordePrefs: horde:signature:
+ hordePrefs: horde:sig_dashes:0
+ hordePrefs: horde:sig_first:0
+ hordePrefs: horde:fullname:
+ hordePrefs: horde:from_addr:
+ hordePrefs: horde:replyto_addr:
+ hordePrefs: horde:save_sent_mail:1
+ hordePrefs: horde:sent_mail_folder:sent-mail
+ hordePrefs: imp:sortby:1
+ hordePrefs: imp:sortdir:1
+ hordePrefs: imp:max_msgs:20
+ hordePrefs: imp:num_words:5
+ hordePrefs: imp:nav_expanded:0
+ hordePrefs: imp:show_legend:1
+ hordePrefs: imp:highlight_text:1
+ hordePrefs: imp:dim_signature:1
+ hordePrefs: imp:attachment_display:list
+ hordePrefs: imp:delhide:0
+ hordePrefs: imp:last_login:1022116977
+ hordePrefs: imp:show_last_login:0
+ hordePrefs: imp:initial_page:INBOX
+ hordePrefs: imp:do_maintenance:1
+ hordePrefs: imp:rename_sentmail_monthly:0
+ hordePrefs: imp:delete_sentmail_monthly:0
+ hordePrefs: imp:delete_sentmail_monthly_keep:12
+ hordePrefs: imp:purge_trash:0
+ hordePrefs: imp:purge_trash_interval:2
+ hordePrefs: imp:purge_trash_keep:30
+ hordePrefs: imp:mailbox_return:0
+ hordePrefs: imp:use_trash:0
+ hordePrefs: imp:trash_folder:Trash
+ hordePrefs: imp:subscribe:0
+ hordePrefs: imp:wrap_width:72
+ hordePrefs: imp:reply_quote:1
+ hordePrefs:: aW1wOnF1b3RlX3ByZWZpeDo+IA==
+ hordePrefs: imp:compose_popup:1
+ hordePrefs: imp:drafts_folder:Drafts
+ hordePrefs: imp:close_draft:1
+ hordePrefs: imp:search_sources:localldap
+ hordePrefs:: aW1wOnNlYXJjaF9maWVsZHM6bG9jYWxsZGFwCWFsaWFzCW5hbWUJZW1haWwJY29tc
+  GFueQ==
+ hordePrefs: imp:add_source:localldap
+ hordePrefs: imp:filtering:0
+ hordePrefs: imp:expanded_folders:a:0:{}
+ hordePrefs: imp:nav_poll:
+ hordePrefs: imp:refresh_time:0
+ hordePrefs: imp:nav_popup:0
+ hordePrefs: imp:filters:
+ hordePrefs: imp:filter_on_login:0
+ hordePrefs: imp:filter_on_refresh:0
+ hordePrefs: imp:show_filter_msg:0
+ hordePrefs: imp:use_pgp:0
+ hordePrefs: imp:pgp_attach_pubkey:0
+ hordePrefs: imp:pgp_private_key:
+ hordePrefs: imp:pgp_public_key:
+ 
+ I switch to turba, change an option, and it the replication log file has:
+ replace: hordePrefs
+ replace: hordePrefs
+ hordePrefs: horde:language:
+ hordePrefs: horde:theme:
+ hordePrefs: turba:summary_refresh_time:300
+ hordePrefs:: dHVyYmE6Y29sdW1uczpuZXRjZW50ZXIJZW1haWwKYmlnZm9vdAllbWFpbAp2ZXJpc
+  2lnbgllbWFpbApsb2NhbHNxbAllbWFpbApsb2NhbGxkYXAJY29tcGFueQlhbGlhcwllbWFpbA==
+ hordePrefs: turba:initial_page:search.php
+ hordePrefs: horde:timezone:
+ hordePrefs: horde:identities:a:0:{}
+ hordePrefs: horde:default_identity:0
+ hordePrefs: horde:signature:
+ hordePrefs: horde:sig_dashes:0
+ hordePrefs: horde:sig_first:0
+ hordePrefs: horde:fullname:
+ hordePrefs: horde:from_addr:
+ hordePrefs: horde:replyto_addr:
+ hordePrefs: horde:save_sent_mail:1
+ hordePrefs: horde:sent_mail_folder:sent-mail
+ 
+ If I switch to imp and save an option, the log file looks like (note the missing 
+ turba values):
+ replace: hordePrefs
+ hordePrefs: horde:language:
+ hordePrefs: horde:theme:
+ hordePrefs: imp:summary_refresh_time:300
+ hordePrefs: horde:timezone:
+ hordePrefs: imp:mailbox:INBOX
+ hordePrefs: horde:identities:a:0:{}
+ hordePrefs: horde:default_identity:0
+ hordePrefs: horde:signature:
+ hordePrefs: horde:sig_dashes:0
+ hordePrefs: horde:sig_first:0
+ hordePrefs: horde:fullname:
+ hordePrefs: horde:from_addr:
+ hordePrefs: horde:replyto_addr:
+ hordePrefs: horde:save_sent_mail:1
+ hordePrefs: horde:sent_mail_folder:sent-mail
+ hordePrefs: imp:sortby:1
+ hordePrefs: imp:sortdir:1
+ hordePrefs: imp:max_msgs:20
+ hordePrefs: imp:num_words:5
+ hordePrefs: imp:nav_expanded:0
+ hordePrefs: imp:show_legend:1
+ hordePrefs: imp:highlight_text:1
+ hordePrefs: imp:dim_signature:1
+ hordePrefs: imp:attachment_display:list
+ hordePrefs: imp:delhide:0
+ hordePrefs: imp:last_login:1022116977
+ hordePrefs: imp:show_last_login:0
+ hordePrefs: imp:initial_page:INBOX
+ hordePrefs: imp:do_maintenance:1
+ hordePrefs: imp:rename_sentmail_monthly:0
+ hordePrefs: imp:delete_sentmail_monthly:0
+ hordePrefs: imp:delete_sentmail_monthly_keep:12
+ hordePrefs: imp:purge_trash:0
+ hordePrefs: imp:purge_trash_interval:2
+ hordePrefs: imp:purge_trash_keep:30
+ hordePrefs: imp:mailbox_return:0
+ hordePrefs: imp:use_trash:0
+ hordePrefs: imp:trash_folder:Trash
+ hordePrefs: imp:subscribe:0
+ hordePrefs: imp:wrap_width:80
+ hordePrefs: imp:reply_quote:1
+ hordePrefs:: aW1wOnF1b3RlX3ByZWZpeDo+IA==
+ hordePrefs: imp:compose_popup:1
+ hordePrefs: imp:drafts_folder:Drafts
+ hordePrefs: imp:close_draft:1
+ hordePrefs: imp:search_sources:localldap
+ hordePrefs:: aW1wOnNlYXJjaF9maWVsZHM6bG9jYWxsZGFwCWFsaWFzCW5hbWUJZW1haWwJY29tc
+  GFueQ==
+ hordePrefs: imp:add_source:localldap
+ hordePrefs: imp:filtering:0
+ hordePrefs: imp:expanded_folders:a:0:{}
+ hordePrefs: imp:nav_poll:
+ hordePrefs: imp:refresh_time:0
+ hordePrefs: imp:nav_popup:0
+ hordePrefs: imp:filters:
+ hordePrefs: imp:filter_on_login:0
+ hordePrefs: imp:filter_on_refresh:0
+ hordePrefs: imp:show_filter_msg:0
+ hordePrefs: imp:use_pgp:0
+ hordePrefs: imp:pgp_attach_pubkey:0
+ hordePrefs: imp:pgp_private_key:
+ hordePrefs: imp:pgp_public_key:
+ 
+ Though if you go back and forth between the modules (imp/turba) it still has all 
+ of the correct preferences, but once you leave and go back in, the preferences 
+ get set to imp's defaults (though if the last time you save preferences was for 
+ imp, those preferences are saved).
+ 
+ let me know if you need more info.
+ 
+ thanks.
+ 
+ pj.
+ 
+ 
+ 
+