6.0.0-alpha12
6/12/25

[#11224] Unable to set a preferences maxsize with Memcache as the cache driver
Summary Unable to set a preferences maxsize with Memcache as the cache driver
Queue Horde Framework Packages
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester rui.carneiro (at) portugalmail (dot) net
Created 06/18/2012 (4742 days ago)
Due
Updated 06/27/2012 (4733 days ago)
Assigned 06/19/2012 (4741 days ago)
Resolved 06/26/2012 (4734 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
06/27/2012 06:44:15 AM Git Commit Comment #6 Reply to this comment
Changes have been made in Git (develop):

commit 007bf38d508881887f86388088a32365135c5c94
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Tue Jun 26 15:43:53 2012 -0600

     [mms] Fix cache maxsize preference (Bug #11224).

  framework/Core/lib/Horde/Core/Factory/Prefs.php |   10 ++++++++--
  framework/Core/package.xml                      |    2 ++
  2 files changed, 10 insertions(+), 2 deletions(-)

http://git.horde.org/horde-git/-/commit/007bf38d508881887f86388088a32365135c5c94
06/26/2012 09:45:42 PM Michael Slusarz Comment #5
State ⇒ Resolved
Reply to this comment
Fixed in Horde_Core 1.9.2.
06/26/2012 09:44:42 PM Git Commit Comment #4 Reply to this comment
Changes have been made in Git (master):

commit 007bf38d508881887f86388088a32365135c5c94
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Tue Jun 26 15:43:53 2012 -0600

     [mms] Fix cache maxsize preference (Bug #11224).

  framework/Core/lib/Horde/Core/Factory/Prefs.php |   10 ++++++++--
  framework/Core/package.xml                      |    2 ++
  2 files changed, 10 insertions(+), 2 deletions(-)

http://git.horde.org/horde-git/-/commit/007bf38d508881887f86388088a32365135c5c94
06/19/2012 11:49:39 PM rui (dot) carneiro (at) portugalmail (dot) net Comment #3 Reply to this comment
Line 95 (in both master and develop) is:

                 $params['ldap'] = $this->_injector

Which would not throw this error.
Sorry Michael, my mistake. The correct line is 85:

https://github.com/horde/horde/blob/master/framework/Core/lib/Horde/Core/Factory/Prefs.php#L85
06/19/2012 08:27:29 PM Michael Slusarz Comment #2
State ⇒ Feedback
Reply to this comment
Line 95 (in both master and develop) is:

                 $params['ldap'] = $this->_injector

Which would not throw this error.
06/18/2012 12:03:21 PM Jan Schneider State ⇒ Assigned
Assigned to Michael Slusarz
 
06/18/2012 11:56:51 AM rui (dot) carneiro (at) portugalmail (dot) net Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Unable to set a preferences maxsize with Memcache as the cache driver
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
This bug was reported on imp mailing list.

*A fatal error has occurred*
*Horde_Cache_Storage_Memcache::serialize() must return a string or NULL*
*framework/Core/lib/Horde/Core/Factory/Prefs.php line 95*

I can't confirm that this occur only with Memcache.

Saved Queries