6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/17/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#4345] sieve: empty allof generates 'false' instead of 'true'
*
Your Email Address
*
Spam protection
Enter the letters below:
.__.. .___.__ \ / | || [__ [__) >< |__||___| | \/ \
Comment
>> You wrote: > >> > >>> That is anyof, which evaluates to false. > >> > >> But with your patch it always evaluates to true if no conditions are > >> specified. > > > > I told you already, that it is not the case. Please. Apply my patch > to a test directory and test it if you do not believe, but I think it > is clear from the source also. Since it doesn't patch > Sieve_Test_Anyof class, but Sieve_Test_Allof only. > > > >> But this is an academical discussion anyway, because "if > >> false" doesn't make any sense. "if true" doesn't make much sense > >> either, so I'm tending to disallow any rules that don't have > >> conditions specified. > > > > It will be a big mistake, since I see no other way to create an > always running custom rule, if there is, please enlighten me. Anyway > this was the reason, why I bothered patching it. > > > > gergely
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers