Bug 1318433

Summary: OData doesn't support mulitiple usage of arithmetic operators
Product: [JBoss] JBoss Data Virtualization 6 Reporter: Michal Sanitrak <msanitra>
Component: TeiidAssignee: Van Halbert <vhalbert>
Status: CLOSED CURRENTRELEASE QA Contact: Juraj DurĂ¡ni <jdurani>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: aszczucz, blafond, jdurani, jolee, mbaluch, thauser, vhalbert
Target Milestone: ER2   
Target Release: 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-24 11:50:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Michal Sanitrak 2016-03-16 21:15:23 UTC
Cannot use more than one arithmetic operator in single OData query. Each arithmetic operator has same problem: add,sub,mul,div and mod.

URL: http://localhost:8080/odata4/olingo_basic/Source/SimpleTableView/?$filter=intkey%20eq%205%20add%201%20add%201
Actual result: {"error":{"code": null,"message": "TEIID30067 Type was null for (? + ?) in function ((? + ?) + ?)"}}
*Expected result:* Entity with intkey 7

See: [OData-ABNF] http://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/abnf/odata-abnf-construction-rules.txt Line: 384 and 561

Comment 1 JBoss JIRA Server 2016-03-18 19:00:29 UTC
Ramesh Reddy <rareddy> updated the status of jira TEIID-4085 to Coding In Progress

Comment 2 JBoss JIRA Server 2016-03-18 19:31:01 UTC
Ramesh Reddy <rareddy> updated the status of jira TEIID-4085 to Resolved

Comment 5 JBoss JIRA Server 2016-06-20 13:36:31 UTC
Steven Hawkins <shawkins> updated the status of jira TEIID-4085 to Closed