Filter expression build wrong with Filter.addOr/AndFilter
---------------------------------------------------------

                 Key: GRFT-114
                 URL: http://issues.apache.org/jira/browse/GRFT-114
             Project: Graffito
          Issue Type: Bug
          Components: JCR-Mapping
    Affects Versions: 1.0-a1-dev
            Reporter: Felix Meschberger


If the JCR expression of the Filter to be add-ed or or-ed in is empty, a 
syntactically incorrect JCR expression may be created on the target filter.

Example: Let f1 be a Filter with JCR expression "@xyz=5" and f2 be a Filter 
with an empty JCR expression. Calling f1.addOrFilter(f2) results in the JCR 
expression "(@xyz=5) or ()".

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to