PersonServiceDb: call addFilterClause with 'special' property adds nothing
--------------------------------------------------------------------------

                 Key: RAVE-105
                 URL: https://issues.apache.org/jira/browse/RAVE-105
             Project: Rave
          Issue Type: Bug
    Affects Versions: 0.1-INCUBATING
            Reporter: Jasha Joachimsthal
            Assignee: Zhenhua (Gerald) Guo


While writing the unit test for PersonServiceDb#addFilterClause I found out 
that 
if (FilterSpecification.isSpecial(filter)) 
is true then none of the subclauses can be met (because they try to compare 
different String's to the same variable.
It then returns 0 as position which means the filter clause will not be added.

Is this intentional or is it a bug?
See also PersonServiceDbTest#testAddSpecialFilterClause

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to