6.0.0-beta1
7/10/25

[#3776] Preferences not saved
Summary Preferences not saved
Queue Horde Framework Packages
Queue Version HEAD
Type Bug
State Resolved
Priority 2. Medium
Owners
Requester horde (at) eltofts (dot) homelinux (dot) com
Created 04/15/2006 (7026 days ago)
Due
Updated 04/16/2006 (7025 days ago)
Assigned 04/16/2006 (7025 days ago)
Resolved 04/16/2006 (7025 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
04/16/2006 01:35:42 AM Chuck Hagenbuch Comment #9
State ⇒ Resolved
Reply to this comment
Fixed in CVS.
04/16/2006 01:08:13 AM horde (at) eltofts (dot) homelinux (dot) com Comment #8 Reply to this comment
Just that one line I hightlighted.



Using php 4.3.9-3.9 on Centos 4


04/16/2006 01:05:09 AM Chuck Hagenbuch Comment #7 Reply to this comment
So this is the only relevant change?



http://cvs.horde.org/diff.php?r1=1.166&r2=1.167&ty=h&f=framework%2FPrefs%2FPrefs.php



Are you using PHP 4 or 5?
04/16/2006 12:52:54 AM horde (at) eltofts (dot) homelinux (dot) com Comment #6 Reply to this comment
Working with prefs.php v1.166 (internally marked 1.165 2006/02/28 
07:01:31 slusarz)



$prefs =& new $class     ...etc - this works OK



$prefs = new $class       ... etc - this Breaks.
04/16/2006 12:34:47 AM horde (at) eltofts (dot) homelinux (dot) com Comment #5 Reply to this comment
Just to clarify - this is 1.166 from the CVS web listing. The file 
internally states 1.165 2006/02/28 07:01:31
04/16/2006 12:30:07 AM horde (at) eltofts (dot) homelinux (dot) com Comment #4 Reply to this comment
1.166 - 10/04/2006 Works

1.167 - 11/04/2006 Broken
04/16/2006 12:24:29 AM horde (at) eltofts (dot) homelinux (dot) com Comment #3 Reply to this comment
I have tried various versions of framework/prefs/prefs.php to discover 
when this was broken;



1.137.10.21 11/04/2006 - This works ok

1.137.10.22 12/04/2006 - This works ok



1.167 11/04/2006 - This breaks saving preferences
04/16/2006 12:17:11 AM Chuck Hagenbuch Comment #2
State ⇒ Feedback
Reply to this comment
Can you narrow it down a bit? Say, try 1.164:

http://cvs.horde.org/co.php?r=1.164&p=1&f=framework%2FPrefs%2FPrefs.php
04/15/2006 11:44:37 PM horde (at) eltofts (dot) homelinux (dot) com Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Preferences not saved
Queue ⇒ Horde Framework Packages
State ⇒ Unconfirmed
Reply to this comment
Using latest (16-04-06) HEAD Framework.



Preferences not are not saved using MySQL backend (may also affect 
other backends but only tested with MySQL).



Changes to Prefs per ticket 3761 have not altered this.



reverting to an older Prefs solves things (My copy is quite old - 
Prefs.php is v1.141 2005/04/26)

Saved Queries