Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
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)

Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-01 12:58:32 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
JBoss Issue Tracker TEIID-4361 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@redhat.com> 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.