Summary | Search "entire message" member function fetch() on a non-object |
Queue | IMP |
Queue Version | Git master |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | samuel.wolf (at) wolf-maschinenbau (dot) de |
Created | 06/14/2014 (4011 days ago) |
Due | |
Updated | 08/21/2014 (3943 days ago) |
Assigned | 07/03/2014 (3992 days ago) |
Resolved | 07/03/2014 (3992 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
commit 5fe2f8f15b9f83719cec4159b073e90299811a4f
Author: Michael M Slusarz <slusarz@horde.org>
Date: Thu Aug 21 17:13:14 2014 -0600
[mms] Ensure that search/POP3 mailbox listings are saved even if
there is an issue with the underlying cache backend.
See
Ticket #13264imp/docs/CHANGES | 2 +
imp/lib/Factory/MailboxList.php | 78
++++++++++++++++++++++++++++-----------
imp/package.xml | 1 +
3 files changed, 59 insertions(+), 22 deletions(-)
http://github.com/horde/horde/commit/5fe2f8f15b9f83719cec4159b073e90299811a4f
not cause a mailbox rebuild, which may in certain cases cause issue
with UID mis-mappings.
commit 2b93fe89922bf97bb84f15765b53063f1257c22f
Author: Michael M Slusarz <slusarz@horde.org>
Date: Thu Aug 21 17:13:14 2014 -0600
[mms] Ensure that search/POP3 mailbox listings are saved even if
there is an issue with the underlying cache backend.
See
Ticket #13264imp/docs/CHANGES | 2 +
imp/lib/Factory/MailboxList.php | 69 ++++++++++++++++++++++++++------------
imp/package.xml | 2 +
3 files changed, 51 insertions(+), 22 deletions(-)
http://github.com/horde/horde/commit/2b93fe89922bf97bb84f15765b53063f1257c22f
debug-logging, I see that the 'cache' parameter always is of the
Horde_Cache type, regardless of the cache driver/backend.
production environment first of all (brutal performance hit). And
regardless - this exists to catch permission issues when running
Horde scripts from the command line.
check/verify that param['cache'] is always Horde_Cache and the
branching in the constructor has to depend on its _storage?
your cache backend not working in the first place"?
the consequences of using NOT RECOMMENDED" settings?
Version ⇒ Git master
debug-logging, I see that the 'cache' parameter always is of the
Horde_Cache type, regardless of the cache driver/backend.
environment first of all (brutal performance hit). And regardless -
this exists to catch permission issues when running Horde scripts from
the command line.
More important: this just masks the configuration problem of "why is
your cache backend not working in the first place"? Any cache backend
other than Null should obviously be read/write to Horde. Or else
what's the point of defining a cache driver if you can't use it?
New Attachment: 0001-Fix-bug-13264.patch
debug-logging, I see that the 'cache' parameter always is of the
Horde_Cache type, regardless of the cache driver/backend.
I can successfully use large search results (with and without caching)
with the attached patch.
thanks for the hint michael!
"in-memory" cache on any recent OS since the contents of the file are
almost certainly residing in memory buffers anyway (assuming, as is
true for most modern boxes, that you have sufficient memory).
thanks for the hint michael!
There is NO reason to not be using, e.g., file-based cache instead.
commit ba60daa40ae7b63879812dbf7917d1f008d1ddc0
Author: Michael M Slusarz <slusarz@horde.org>
Date: Thu Jul 3 15:42:10 2014 -0600
Keep data in session storage if using a Null cache driver with
Horde_Core_Cache_Session
Bug #13264It makes zero sense to run IMP (or any Horde app) with a null cache
driver, but I guess we need to support those broken configs.
framework/Core/lib/Horde/Core/Cache/Session.php | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
http://github.com/horde/horde/commit/ba60daa40ae7b63879812dbf7917d1f008d1ddc0
commit e6536d65627ea4fb0351692fe430333f6ad46733
Author: Michael M Slusarz <slusarz@horde.org>
Date: Thu Jul 3 15:36:35 2014 -0600
Bug #13264: Better documentation on good cache backend drivershorde/config/conf.xml | 20 +++++++++++++++++---
1 files changed, 17 insertions(+), 3 deletions(-)
http://github.com/horde/horde/commit/e6536d65627ea4fb0351692fe430333f6ad46733
commit 85d37ae6672436acbfe6bb42a41af9938bbdcf42
Author: Michael M Slusarz <slusarz@horde.org>
Date: Thu Jul 3 15:36:35 2014 -0600
Bug #13264: Better documentation on good cache backend drivershorde/config/conf.xml | 20 +++++++++++++++++---
1 files changed, 17 insertions(+), 3 deletions(-)
http://github.com/horde/horde/commit/85d37ae6672436acbfe6bb42a41af9938bbdcf42
cache to use. Which is a documentation issue
xCache is NOT useful as a Horde_Cache backend, since it is neither
persistent and/or isn't large enough to be useful on even a smallish
(25+ users) installation.
State ⇒ Assigned
Priority ⇒ 1. Low
(You are not using SQL as a cache backend are you?)
'Null'; yes.
"I can reproduce this error if I disable the 'horde cache' in configuration.
$conf['cache']['driver'] = 'Null';".
If I enable the cache, the search works fine.
I tested NoSQL(mongodb) and local file system backends.
Horde/Core/Cache/Session.php
than store more information in the session rather than offloading to
the cache backend.
The only thing I can think of is that your cache backend is broken.
(You are not using SQL as a cache backend are you?)
xcache.size = 512M
xcache.var_size = 512M
$conf['cache']['driver'] = 'Xcache';
Works now with over 15 000 messages.
Priority ⇒ 2. Medium
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Summary ⇒ Search "entire message" member function fetch() on a non-object
Type ⇒ Bug
Queue ⇒ IMP
Hiromi Kimura found out [2] that the root cause is the maxsize in
Horde/Core/Cache/Session.php
Increase this value to open more messages of an search result in IMP.
[1] http://marc.info/?t=140215085400002&r=1&w=2
[2] http://marc.info/?l=imp&m=140262211703797&w=2