[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-tracker] [bug #5321] preferences get lost
From: |
nobody |
Subject: |
[Phpgroupware-tracker] [bug #5321] preferences get lost |
Date: |
Tue, 23 Sep 2003 21:19:19 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 |
=================== BUG #5321: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=5321&group_id=509
Changes by: Michael Totschnig <address@hidden>
Date: mer 24.09.2003 à 01:19 (GMT)
------------------ Additional Follow-up Comments ----------------------------
after updating today, for some users, I get the following errors on each page.
They seem related to the fix of this bug.
Warning: Invalid argument supplied for foreach() in
/usr/local/www/phpgroupware.src/phpgwapi/inc/class.preferences.inc.php on line
671
Warning: reset(): Passed variable is not an array or object in
/usr/local/www/phpgroupware.src/phpgwapi/inc/class.preferences.inc.php on line
589
Warning: reset(): Passed variable is not an array or object in
/usr/local/www/phpgroupware.src/phpgwapi/inc/class.preferences.inc.php on line
592
=================== BUG #5321: FULL BUG SNAPSHOT ===================
Signalé par: totschnig Projet: phpGroupWare
Signalé le: lun 15.09.2003 à 18:47
Category: API - Preferences Bug Group: 0.9.16RC1
Severity: 5 - Major Priority: None
Resolution: Fixed Assigned to: skwashd
Status: Closed Component Version: CVS
Platform Version: Linux - RedHat Reproducibility: None
Summary: preferences get lost
Original Submission: in certain conditions, preferences are systematically
reset to some default values, and a user is unable to permanently set any
preference. when he tries to change a setting, it seems to be set on the first
page that comes back, but it falls back to the default again on the next page.
My guess is that a bug in function verify_basic_settings() in class
phpgwapi.preferences. It seems to be responsible for deleting a user's
preferences. the problem goes away if I add the line
$this->read_repository();
at the beginning of the function. The situation seems similar to the problem I
had identified in [bug #1352]
Follow-up Comments
*******************
-------------------------------------------------------
Date: mer 24.09.2003 à 01:19 By: totschnig
after updating today, for some users, I get the following errors on each page.
They seem related to the fix of this bug.
Warning: Invalid argument supplied for foreach() in
/usr/local/www/phpgroupware.src/phpgwapi/inc/class.preferences.inc.php on line
671
Warning: reset(): Passed variable is not an array or object in
/usr/local/www/phpgroupware.src/phpgwapi/inc/class.preferences.inc.php on line
589
Warning: reset(): Passed variable is not an array or object in
/usr/local/www/phpgroupware.src/phpgwapi/inc/class.preferences.inc.php on line
592
-------------------------------------------------------
Date: ven 19.09.2003 à 09:19 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,
La liste CC est vide
Il n'y a aucun fichier attaché actuellement
For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=5321&group_id=509
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/