phpgroupware-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-tracker] [Bug #1352] phpwebhosting erases user's preferenc


From: nobody
Subject: [Phpgroupware-tracker] [Bug #1352] phpwebhosting erases user's preferences upon first interaction
Date: Wed, 09 Oct 2002 23:46:05 -0400

=================== BUG #1352: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=1352&group_id=509

Changes by: Dave Hall <address@hidden>
Date: 2002-Oct-10 13:46 (Australia/Melbourne)

            What     | Removed                   | Added
---------------------------------------------------------------------------
         Assigned to | None                      | skwashd


------------------ Additional Follow-up Comments ----------------------------
I have replicated this problem.  Will test the patch.  Thanks



=================== BUG #1352: FULL BUG SNAPSHOT ===================


Submitted by: totschnig                 Project: phpGroupWare                   
Submitted on: 2002-Oct-08 06:06
Category:  filemanager                  Bug Group:  0.9.14 release              
Severity:  5 - Major                    Priority:  None                         
Resolution:  None                       Assigned to:  skwashd                   
Status:  Open                           Component Version:  None                
Platform Version:  Linux - RedHat       Reproducibility:  Every Time            

Summary:  phpwebhosting erases user's preferences upon first interaction

Original Submission:  When a new user goes for the first time into 
phpwehosting, and then clicks on the link to one level up from his home 
directory into /home, all his preferences (interface selection, language, etc.) 
get reset to the default values.
The following patch seems to solve the problem:

--- index.php.orig      Mon Oct  7 15:35:05 2002
+++ index.php   Mon Oct  7 16:05:17 2002
@@ -611,6 +611,7 @@
 if (!is_array ($GLOBALS['settings']))
 {
        $pref = CreateObject ('phpgwapi.preferences', 
$GLOBALS['userinfo']['username']);
+       $pref->read_repository ();
        $GLOBALS['phpgw']->hooks->single ('add_def_pref', $GLOBALS['appname']);
        $pref->save_repository (True);
        $pref_array = $pref->read_repository ();


Follow-up Comments
*******************

-------------------------------------------------------
Date: 2002-Oct-10 13:46             By: skwashd
I have replicated this problem.  Will test the patch.  Thanks


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=1352&group_id=509




reply via email to

[Prev in Thread] Current Thread [Next in Thread]