Bug 1362103

Summary: OData V4 - filter is not working if speces are replaced with '+'
Product: [JBoss] JBoss Data Virtualization 6 Reporter: Juraj Duráni <jdurani>
Component: TeiidAssignee: Van Halbert <vhalbert>
Status: CLOSED NOTABUG QA Contact: Juraj Duráni <jdurani>
Severity: low Docs Contact:
Priority: medium    
Version: 6.3.0CC: aszczucz, blafond, jolee, mbaluch, thauser, vhalbert
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-01 12:58:32 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:
Embargoed:

Description Juraj Duráni 2016-08-01 09:54:02 UTC
If spaces in the URL are replaced with '+', Teiid returns error:

Working URL:
http://localhost:8080/odata4/static.1/Source/auth?$filter=id eq 1

Not-working URL:
http://localhost:8080/odata4/static.1/Source/auth?$filter=id+eq+1

VDB:
<vdb name="static" version="1">
    <model name="Source" type="VIRTUAL">
        <metadata type="DDL">
            <![CDATA[create view auth (id integer primary key) as select 1]]>
        </metadata>
    </model>
</vdb>

Comment 1 Juraj Duráni 2016-08-01 09:56:17 UTC
Error:
<error xmlns="http://docs.oasis-open.org/odata/ns/metadata">
    <code>null</code>
    <message>
        The types 'Edm.Boolean' and 'Edm.Int32' are not compatible.
    </message>
</error>

Comment 2 JBoss JIRA Server 2016-08-01 12:54:21 UTC
Steven Hawkins <shawkins> updated the status of jira TEIID-4361 to Resolved