Summary | Apply Filters does nothing after upgrading from Horde4 |
Queue | Ingo |
Queue Version | 3.0.1 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | viktor (at) szepe (dot) net |
Created | 11/19/2012 (4611 days ago) |
Due | |
Updated | 11/20/2012 (4610 days ago) |
Assigned | 11/20/2012 (4610 days ago) |
Resolved | 11/20/2012 (4610 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
commit aace02dbc276fbb6a0fa727640b04312e14a9ee3
Author: Michael M Slusarz <slusarz@horde.org>
Date: Mon Nov 19 18:36:18 2012 -0700
Possible fix for
Bug #11725imp/lib/Api.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
http://git.horde.org/horde-git/-/commit/aace02dbc276fbb6a0fa727640b04312e14a9ee3
New Attachment: debug.log
New Attachment: no-results.log
communication.
communication.
I noticed an: Illegal offset type in isset or empty [pid 30867 on
line 265 of "/var/www/horde4/imp/lib/Indices.php"] during Apply
Filters
communication.
I noticed an: Illegal offset type in isset or empty [pid 30867 on line
265 of "/var/www/horde4/imp/lib/Indices.php"] during Apply Filters
State ⇒ Feedback
communication.
To enable debugging, see instructions contained in
imp/config/backends.php (the 'debug' config parameter).
Debugging should not be enabled on a production server, Attach/post
only the portion of the log that directly deals with the problem
reported (it may be simplest to clear the log file and then perform
the event that causes the error).
vardumping $indices after ingo/lib/Script/Imap.php:118
$base_query->andSearch(array($query));
$indices = $this->_api->search($base_query);
shows an empty array - so my filter's search return no result
like: From contains @ ...
(vardump)
object(Horde_Imap_Client_Search_Query)#265 (2) {
["_charset":protected]=>
string(5) "UTF-8"
["_search":protected]=>
array(2) {
["flag"]=>
array(2) {
["DELETED"]=>
array(1) {
["type"]=>
string(4) "flag"
}
["SEEN"]=>
array(1) {
["type"]=>
string(4) "flag"
}
}
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Summary ⇒ Apply Filters does nothing after upgrading from Horde4
Type ⇒ Bug
Queue ⇒ Ingo
at ingo/lib/Script/Imap.php:231
if (($indices = array_diff($indices, $ignore_ids)))
both arrays are empty, so no action is taken
(using a courier IMAP server)
Thank you!