Summary | Filtering fails with some fields |
Queue | Ingo |
Queue Version | 2.0.7 |
Type | Bug |
State | Resolved |
Priority | 3. High |
Owners | slusarz (at) horde (dot) org |
Requester | gabriel.guntin (at) unq (dot) edu (dot) ar |
Created | 05/15/2012 (4800 days ago) |
Due | |
Updated | 06/26/2012 (4758 days ago) |
Assigned | 06/06/2012 (4778 days ago) |
Resolved | 06/21/2012 (4763 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
commit 958d00d4fdbe5221594c6c574ff9a1988d223bbf
Author: Jan Schneider <jan@horde.org>
Date: Tue Jun 26 11:59:54 2012 +0200
[mms] Fix patch for filtering on combination fields (
Bug #11197).ingo/docs/CHANGES | 1 +
ingo/package.xml | 2 ++
2 files changed, 3 insertions(+), 0 deletions(-)
http://git.horde.org/horde-git/-/commit/958d00d4fdbe5221594c6c574ff9a1988d223bbf
commit 958d00d4fdbe5221594c6c574ff9a1988d223bbf
Author: Jan Schneider <jan@horde.org>
Date: Tue Jun 26 11:59:54 2012 +0200
[mms] Fix patch for filtering on combination fields (
Bug #11197).ingo/docs/CHANGES | 1 +
ingo/package.xml | 2 ++
2 files changed, 3 insertions(+), 0 deletions(-)
http://git.horde.org/horde-git/-/commit/958d00d4fdbe5221594c6c574ff9a1988d223bbf
Summary ⇒ Filtering fails with some fields
this is fixed. We won't release a new version without confirmation.
SELECT * FROM ingo_rules WHERE rule_owner = 'rvuser' ORDER BY
rule_order [pid 3666 on line 803 of
"/usr/share/php/Horde/Db/Adapter/Base.php"]
2012-06-08T15:12:38+02:00 WARN: HORDE [ingo] PHP ERROR: array_merge():
Argument
#2is not an array [pid 3666 on line 626 of"/usr/share/php/Horde/Imap/Client/Search/Query.php"]
7. Ingo_Script_Imap->perform() /var/www/horde/ingo/lib/Api.php:108
8. Horde_Imap_Client_Search_Query->andSearch()
/var/www/horde/ingo/lib/Script/Imap.php:236
2012-06-08T15:12:38+02:00 DEBUG: HORDE [ingo] 1.
IMP_Mailbox->filter() /var/www/horde/imp/mailbox.php:214
7. Ingo_Script_Imap->perform() /var/www/horde/ingo/lib/Api.php:108
8. Horde_Imap_Client_Search_Query->andSearch()
/var/www/horde/ingo/lib/Script/Imap.php:236
2012-06-08T15:12:39+02:00 DEBUG: HORDE [ingo] Filteraktivität: Die
Nachricht "rhsh rfesrh" von "<123@456.78>" wurde zum Ordner "test"
verschoben. [pid 3666 on line 27 of
"/usr/share/php/Horde/Core/Notification/Handler/Decorator/Hordelog.php"]
2012-06-08T15:12:39+02:00 DEBUG: HORDE [ingo] Filteraktivität: Die
Nachricht "123" von "<123@456.78>" wurde zum Ordner "test" verschoben.
[pid 3666 on line 27 of
"/usr/share/php/Horde/Core/Notification/Handler/Decorator/Hordelog.php"]
2012-06-08T15:12:39+02:00 DEBUG: HORDE [ingo] Filteraktivität: Die
Nachricht "test" von "<123@456.78>" wurde zum Ordner "test"
verschoben. [pid 3666 on line 27 of
"/usr/share/php/Horde/Core/Notification/Handler/Decorator/Hordelog.php"]
Not solved!
committed fixes and can confirm whether the issue is fixed now or not?
the installation is pear installation. If anybody can provide me help
on how to do so, I am willing to test and give feedback on whether the
problem disappeared.
State ⇒ Feedback
fixes and can confirm whether the issue is fixed now or not?
commit 460d3766089df6b20f0ec47d51ea27a0ef654fc7
Author: Michael M Slusarz <slusarz@horde.org>
Date: Mon Jun 4 14:23:26 2012 -0600
Bug #11197: Another BC fixingo/lib/Script/Imap.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/460d3766089df6b20f0ec47d51ea27a0ef654fc7
commit 460d3766089df6b20f0ec47d51ea27a0ef654fc7
Author: Michael M Slusarz <slusarz@horde.org>
Date: Mon Jun 4 14:23:26 2012 -0600
Bug #11197: Another BC fixingo/lib/Script/Imap.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/460d3766089df6b20f0ec47d51ea27a0ef654fc7
$query->andSearch($or_ob);
to
$query->andSearch(array($or_ob));
I had the same issue and I have applied the fix on
ingo/lib/Script/Imap.php however I am now getting the following:
HORDE: [ingo] PHP ERROR: array_merge(): Argument
#2is not an array[pid xxx on line 626 of
"/usr/share/pear/Horde/Imap/Client/Search/Query.php"]
commit 958daacad7e1b85c539a9f5fc00b9fade123c645
Author: Michael M Slusarz <slusarz@horde.org>
Date: Thu May 31 12:00:42 2012 -0600
Make this call BC (
Bug #11197)ingo/lib/Script/Imap.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/958daacad7e1b85c539a9f5fc00b9fade123c645
the directory dir1
reported. Since the specific AND/OR rules are not correctly added to
the base query object, the base query object would default to an ALL
search.
Filtering rules are as follows:
if match X-headder1 then move to directory dir1 stop
if match X-headder2 then move to directory dir2 stop
...
No matter if headder is matched or not, ALL messages are moved to the
directory dir1
Also, ingo version is 2.0.8
Hope this helps
I just upgraded to the latest groupware edition et filtering is now
broken and I believe il has to do with this bug. My installation was
up to date last friday, up and running smoothly and filtering have
been running fine for months.
My filter backend is SQL.
The filter rules look for specific custom headder and move message to
different folders accordingly. All the rules are simple, i.e. only one
headder is checked, if matched, move message then stop.
Here is what I get in the syslog when filter is applied. Hope it will help
May 31 14:57:39 scommuns HORDE: [ingo] PHP ERROR: array_merge():
Argument
#2is not an array [pid 30898 on line 626 of"/usr/share/pear/Horde/Imap/Client/Search/Query.php"]
May 31 14:57:39 scommuns HORDE: [ingo] PHP ERROR: array_merge():
Argument
#2is not an array [pid 30898 on line 626 of"/usr/share/pear/Horde/Imap/Client/Search/Query.php"]
May 31 14:57:39 scommuns HORDE: [ingo] PHP ERROR: array_merge():
Argument
#2is not an array [pid 30898 on line 626 of"/usr/share/pear/Horde/Imap/Client/Search/Query.php"]
May 31 14:57:40 scommuns HORDE: [ingo] PHP ERROR: array_merge():
Argument
#2is not an array [pid 30898 on line 626 of"/usr/share/pear/Horde/Imap/Client/Search/Query.php"]
May 31 14:57:40 scommuns HORDE: [ingo] PHP ERROR: array_merge():
Argument
#2is not an array [pid 30898 on line 626 of"/usr/share/pear/Horde/Imap/Client/Search/Query.php"]
May 31 14:57:40 scommuns HORDE: [ingo] PHP ERROR: array_merge():
Argument
#2is not an array [pid 30898 on line 626 of"/usr/share/pear/Horde/Imap/Client/Search/Query.php"]
May 31 14:57:40 scommuns HORDE: [ingo] PHP ERROR: array_merge():
Argument
#2is not an array [pid 30898 on line 626 of"/usr/share/pear/Horde/Imap/Client/Search/Query.php"]
May 31 14:57:40 scommuns HORDE: [ingo] PHP ERROR: array_merge():
Argument
#2is not an array [pid 30898 on line 626 of"/usr/share/pear/Horde/Imap/Client/Search/Query.php"]
commit 958daacad7e1b85c539a9f5fc00b9fade123c645
Author: Michael M Slusarz <slusarz@horde.org>
Date: Thu May 31 12:00:42 2012 -0600
Make this call BC (
Bug #11197)ingo/lib/Script/Imap.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/958daacad7e1b85c539a9f5fc00b9fade123c645
State ⇒ Assigned
Priority ⇒ 3. High
commit 3a1776beec29f6b5cd8aaa213f2c93b04d4d7682
Author: Michael M Slusarz <slusarz@horde.org>
Date: Thu May 24 12:26:17 2012 -0600
[mms] Fix IMAP filtering on combination fields (
Bug #11197).ingo/docs/CHANGES | 1 +
ingo/lib/Script/Imap.php | 48
+++++++++++++++++++++++-----------------------
ingo/package.xml | 2 +
3 files changed, 27 insertions(+), 24 deletions(-)
http://git.horde.org/horde-git/-/commit/3a1776beec29f6b5cd8aaa213f2c93b04d4d7682
State ⇒ Feedback
commit 3a1776beec29f6b5cd8aaa213f2c93b04d4d7682
Author: Michael M Slusarz <slusarz@horde.org>
Date: Thu May 24 12:26:17 2012 -0600
[mms] Fix IMAP filtering on combination fields (
Bug #11197).ingo/docs/CHANGES | 1 +
ingo/lib/Script/Imap.php | 48
+++++++++++++++++++++++-----------------------
ingo/package.xml | 2 +
3 files changed, 27 insertions(+), 24 deletions(-)
http://git.horde.org/horde-git/-/commit/3a1776beec29f6b5cd8aaa213f2c93b04d4d7682
Assigned to Michael Slusarz
New Attachment: imp-debug-log
the filter for 4 items on inbox, that were moved by the filter to
"Nueva" folder.
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).
filter backend you use, and how the generated script looks like, if
any.
imap is the only backend enabled.
In the other hand in config/conf.php we have setted
$conf[storage][driver]=SQL, as you can see all settings are by default.
Priority ⇒ 1. Low
State ⇒ Feedback
filter backend you use, and how the generated script looks like, if any.
Priority ⇒ 3. High
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Summary ⇒ Filternig fails with some fields
Type ⇒ Bug
Queue ⇒ Ingo
the evaluation is always "true", and therefore the filter action
affects all messages in inbox: Destination (To,Cc,Bcc,etc.) -
Source (From,Reply-to,etc.) - Participant (From,To,etc.)