Details
-
Bug
-
Resolution: Duplicate
-
Low
-
None
-
2.5.3
-
None
-
Java Version 1.5.0_12
Java Vendor Sun Microsystems Inc.
JVM Version 1.0
JVM Vendor Sun Microsystems Inc.
JVM Implementation Version 1.5.0_12-b04
Java Runtime Java(TM) 2 Runtime Environment, Standard Edition
Java VM Java HotSpot(TM) Client VM
User Name tomcat
User Timezone America/New_York
Operating System Linux 2.6.23.1
OS Architecture i386
Filesystem Encoding ISO-8859-15Java Version 1.5.0_12 Java Vendor Sun Microsystems Inc. JVM Version 1.0 JVM Vendor Sun Microsystems Inc. JVM Implementation Version 1.5.0_12-b04 Java Runtime Java(TM) 2 Runtime Environment, Standard Edition Java VM Java HotSpot(TM) Client VM User Name tomcat User Timezone America/New_York Operating System Linux 2.6.23.1 OS Architecture i386 Filesystem Encoding ISO-8859-15
Description
Let's say I'm preparing a page where I'm archiving a list of pages labeled by reports and months and years, but we are in october and I have no november label yet. Or, for any reason, a label is not defined yet, but requested in a page by the contentbylabel macro. Wouldn't it be more logical to return nothing if no page has ALL of the labels instead of ignoring undefined labels and returning the result of reports+2007 because november is not found? It seems to me that it's the purpose of a logical operator AND to return false if an assertion fails.
contentbylabel:reports,2007,november|operator=AND
Attachments
Issue Links
- duplicates
-
CONFSERVER-8703 contentbylabel operator=AND performs like an OR
- Closed