Bug 1362103 - OData V4 - filter is not working if speces are replaced with '+'
Summary: OData V4 - filter is not working if speces are replaced with '+'
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: JBoss Data Virtualization 6
Classification: JBoss
Component: Teiid
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Van Halbert
QA Contact: Juraj Duráni
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-01 09:54 UTC by Juraj Duráni
Modified: 2016-08-01 12:58 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-08-01 12:58:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker TEIID-4361 0 Major Resolved OData V4 - filter is not working if speces are replaced with '+' 2016-08-01 12:54:21 UTC

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


Note You need to log in before you can comment on or make changes to this bug.