bugphpGroupWare - Bugs: bug #4377, When caching phpgwinfo, prefs get...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #4377: When caching phpgwinfo, prefs get lost

Submitter:  Alejandro Borges (lex) <alexbsa>
Submitted:  Sun 20 Jul 2003 02:13:50 AM UTC
   
 
Category:  API - Preferences Item Group:  0.9.16 pre RC
Severity:  3 - Normal Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Component Version:  None Operating System:  None
Reproducibility:  None Planned Release:  None
Fixed Release: 

Sun 20 Jul 2003 02:13:50 AM UTC, 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.

Alejandro Borges (lex) <alexbsa>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by skwashd (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-03-06 skwashd Assigned toskwashd None
    2004-04-21 cboettger Assigned toNone skwashd
    2004-01-20 powerstat Assigned to#2883 None

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code