Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-1427

In operator's types 'Edm.Int16' and 'Edm.Int64' are not compatible

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • (Java) V4 4.7.1
    • (Java) V4 4.9.0
    • odata4-server
    • None

    Description

      Filter: ?$filter=id in (400)

      where id is Edm.Int64 type

       

      Exception:

      org.apache.olingo.server.core.uri.parser.UriParserSemanticException: Incompatible types.org.apache.olingo.server.core.uri.parser.UriParserSemanticException: Incompatible types. at org.apache.olingo.server.core.uri.parser.ExpressionParser.checkInExpressionTypes(ExpressionParser.java:369) ~[odata-server-core-4.7.1.jar:4.7.1] at org.apache.olingo.server.core.uri.parser.ExpressionParser.parseExprPrimary(ExpressionParser.java:341) ~[odata-server-core-4.7.1.jar:4.7.1] at org.apache.olingo.server.core.uri.parser.ExpressionParser.parseExprUnary(ExpressionParser.java:324) ~[odata-server-core-4.7.1.jar:4.7.1] at org.apache.olingo.server.core.uri.parser.ExpressionParser.parseExprMul(ExpressionParser.java:293) ~[odata-server-core-4.7.1.jar:4.7.1] at org.apache.olingo.server.core.uri.parser.ExpressionParser.parseExprAdd(ExpressionParser.java:279) ~[odata-server-core-4.7.1.jar:4.7.1] at org.apache.olingo.server.core.uri.parser.ExpressionParser.parseExprRel(ExpressionParser.java:236) ~[odata-server-core-4.7.1.jar:4.7.1] at org.apache.olingo.server.core.uri.parser.ExpressionParser.parseExprEquality(ExpressionParser.java:218) ~[odata-server-core-4.7.1.jar:4.7.1] at org.apache.olingo.server.core.uri.parser.ExpressionParser.parseAnd(ExpressionParser.java:208) ~[odata-server-core-4.7.1.jar:4.7.1] at org.apache.olingo.server.core.uri.parser.ExpressionParser.parseExpression(ExpressionParser.java:190) ~[odata-server-core-4.7.1.jar:4.7.1] at org.apache.olingo.server.core.uri.parser.ExpressionParser.parse(ExpressionParser.java:184) ~[odata-server-core-4.7.1.jar:4.7.1] at org.apache.olingo.server.core.uri.parser.FilterParser.parse(FilterParser.java:48) ~[odata-server-core-4.7.1.jar:4.7.1] at org.apache.olingo.server.core.uri.parser.Parser.parseFilterOption(Parser.java:413) ~[odata-server-core-4.7.1.jar:4.7.1] at org.apache.olingo.server.core.uri.parser.Parser.parseUri(Parser.java:281) ~[odata-server-core-4.7.1.jar:4.7.1] at org.apache.olingo.server.core.ODataHandlerImpl.processInternal(ODataHandlerImpl.java:143) ~[odata-server-core-4.7.1.jar:4.7.1] at org.apache.olingo.server.core.ODataHandlerImpl.process(ODataHandlerImpl.java:85) ~[odata-server-core-4.7.1.jar:4.7.1] at org.apache.olingo.server.core.ODataHttpHandlerImpl.process(ODataHttpHandlerImpl.java:74) [odata-server-core-4.7.1.jar:4.7.1] at org.apache.olingo.server.core.ODataHttpHandlerImpl.process(ODataHttpHandlerImpl.java:88) [odata-server-core-4.7.1.jar:4.7.1]

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              omparkash Om Parkash
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m