M Carissimi created OLINGO-229:
----------------------------------

             Summary: Support of binary operations for Double properties
                 Key: OLINGO-229
                 URL: https://issues.apache.org/jira/browse/OLINGO-229
             Project: Olingo
          Issue Type: Bug
          Components: odata2-core
    Affects Versions: V2 1.2.0
            Reporter: M Carissimi


Hello, I have an OData service which uses custom built Processor and Provider. 
Some of my Entities contain properties of type Edm.Double. When I use the 
binary operators (eq, gt, lt, ge, le) with these attributes they only work if I 
compare the value to an integer number.

The following filter query works:
$filter=WATER gt 200

where as the following query fails:
$filter=WATER gt 200.5

According to the OData 2.0 documentation (section 4.5 of 
http://www.odata.org/documentation/odata-version-2-0/uri-conventions/) it 
should be possible to compare a value with a double number. Can you please 
clarify?



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to