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

 
 

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

bug #4377: When caching phpgwinfo, prefs get lost

Submitted by:  Alejandro Borges (lex) <alexbsa>
Submitted on:  Sun 20 Jul 2003 02:13:50 AM UTC  
 
Item Group: 0.9.16 pre RCCategory: API - Preferences
Severity: 3 - NormalPriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Component Version: NoneOperating System: None
Reproducibility: NonePlanned 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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 06 Mar 2010 02:24:56 AM UTCskwashdAssigned toskwashd=>None
    Wed 21 Apr 2004 07:57:59 AM UTCcboettgerAssigned toNone=>skwashd
    Tue 20 Jan 2004 11:54:45 AM UTCpowerstatAssigned toInvalid User ID=>None

    Back to the top


    Powered by Savane 3.1-cleanup