[Tickets #904] Ingo Screwed Up
bugs at bugs.horde.org
bugs at bugs.horde.org
Tue Nov 30 10:58:29 PST 2004
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=904
-----------------------------------------------------------------------
Ticket | 904
Updated By | lee at disinfo.com
Summary | Ingo Screwed Up
Queue | Ingo
Version | 1.0-RC2
State | Assigned
Priority | 2. Medium
Type | Bug
Owners | Michael Slusarz
-----------------------------------------------------------------------
lee at disinfo.com (2004-11-30 10:58) wrote:
I spent a few hours further debugging this. Here is what i have.
When i add rules, everything is fine. The rules get added to mysql, the
sieve script gets updated on our imap server, and the rules appear in the
script list.
HOWEVER, when i add whitelist and blacklist rules, neither get added to
sieve and neither are displayed in the filters list. HOWEVER they are added
to prefs in mysql.
Ive traced the problem down to:
sieve.php line 366: Prior to this line, the function generate() has
appropriately set $whitelistBlocks, $blacklistBlocks etc... with teh
information the user generated. However at line 366, a foreach loop is
initiated from the result of:
$filters = $ingo_storage->retrieve(INGO_STORAGE_ACTION_FILTERS);
foreach ($filters->getFilterlist() as $filter) {
...
In this loop whitelistBlocks, blocklistBlocks etc... are converted to code
and added to sieve. Since the loop is never run, the whitelists,blacklists
etc... arent added to sieve. The problem is that
retrieve(INGO_STORAGE_ACTION_FILTERS) doesnt return any whitelist or
blacklist items or vacation items (it only returns the filters).
If you want you can test out what im saying shoot me a private email and i
will provide you with a login to our system.
FYI it appears this problem is also happening in RC-1, however I am positive
when i originally installed RC-1
More information about the bugs
mailing list