Details
-
Bug
-
Resolution: Fixed
-
Medium
-
2.5.3
-
None
Description
Steps to reproduce the problem:
- Create a page and set the labels:a
- Create a page and set the labels:b
- Create a page and set the labels:a , b
- Run this macro :
{contentbylabel:a,b|operator=AND|maxResults=10}
- This works fine. It returns the page where label "a" ,"b"
- Run this macro :
{contentbylabel:a,c|operator=AND|maxResults=10}
- This macro should not return any results as there is no page with the label "a" and "c"
- However, it fails and returns all the pages with the label "a" even though there is no page with the label "c"
Attachments
Issue Links
- is duplicated by
-
CONFSERVER-10227 operator AND should consider an undefined label as false
- Closed
- is related to
-
CONFSERVER-8399 Deprecate "operator" parameter of contentbylabel macro
- Closed