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: Fri, 22 Nov 2002 22:29:38 -0500

=================== 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-Nov-23 14:29 (Australia/Melbourne)

            What     | Removed                   | Added
---------------------------------------------------------------------------
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
This has been corrected in CVS.

To grab a complete update of all fixes:

1)  Check to see if you have cvs installed: 'cvs --help'.
1a) If not, install a copy of cvs-cli from your favorite 
distro.

2)  Then just type:
    'cd <your phpgroupware dir>; cvs update -dP'.

You can do step 2 as many times in a day as you wish, and 
will always get the most current bug fixes.

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:  Closed                         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-Nov-23 14:29             By: skwashd
This has been corrected in CVS.

To grab a complete update of all fixes:

1)  Check to see if you have cvs installed: 'cvs --help'.
1a) If not, install a copy of cvs-cli from your favorite 
distro.

2)  Then just type:
    'cd <your phpgroupware dir>; cvs update -dP'.

You can do step 2 as many times in a day as you wish, and 
will always get the most current bug fixes.

Thanks,


-------------------------------------------------------
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]