phpgroupware-tracker
[Top][All Lists]
Advanced

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

[Phpgroupware-tracker] [bug #4377] When caching phpgwinfo, prefs get los


From: nobody
Subject: [Phpgroupware-tracker] [bug #4377] When caching phpgwinfo, prefs get lost
Date: Sat, 19 Jul 2003 22:13:50 -0400
User-agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.4) Gecko/20030707 Debian/1.4-1

=================== BUG #4377: FULL BUG SNAPSHOT ===================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4377&group_id=509

Submitted by: alexbsa                 Project: phpGroupWare                 
Submitted on: Sat 07/19/03 at 20:13
Category:  API - Preferences          Bug Group:  0.9.16 pre RC             
Severity:  5 - Major                  Priority:  None                       
Resolution:  None                     Assigned to:  ralfbecker              
Status:  Open                         Component Version:  None              
Platform Version:  None               Reproducibility:  None                

Summary:  When caching phpgwinfo, prefs get lost 

Original Submission:  As it says. Cache phpgwinfo, php sessions, non-persistant 
db connection. 

Go try and set preferences in any app (even settings). You wont be able to.

Im in the process of debugging it, but it seems this has to do with the way the 
prefs class handles the cached phpgwinfo array in line 547 (or arround, look at 

if (($type == 'user' || !$type) && 
$GLOBALS['phpgw_info']['server']['cache_phpgw_info'] && $this->account_id == 
$GLOBALS['phpgw_info']['user']['account_id'])

)

I think the read repository function borks the new preference data.
Iva managed to pin it down this way:

1.- Set new preferences to any app, make it break with an echo something

2.- Check out the database, preferences are fine there

3.- Go to home.php or even preferences index

4.- Check the db again, preferences are gone.

So, gimme a hand pls. Im trying to port AM to 0.16 preferences and cant go in 
if i dont fix this. Im gonna try and do it myself though.



No Followups Have Been Posted


CC list is empty


No files currently attached


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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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