You are viewing a plain text version of this content. The canonical link for it is here.
Posted to graffito-dev@incubator.apache.org by "Christophe Lombart (JIRA)" <ji...@apache.org> on 2006/10/26 20:12:17 UTC

[jira] Assigned: (GRFT-114) Filter expression build wrong with Filter.addOr/AndFilter

     [ http://issues.apache.org/jira/browse/GRFT-114?page=all ]

Christophe Lombart reassigned GRFT-114:
---------------------------------------

    Assignee: Christophe Lombart

> 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
>         Assigned To: Christophe Lombart
>         Attachments: GRFT-114.diff
>
>
> 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