Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-4361

OData V4 - filter is not working if speces are replaced with '+'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 8.12.5
    • OData
    • None

    Description

      If spaces in the URL are replaced with '+', Teiid returns error:

      Working URL
      Unable to find source-code formatter for language: plain. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      http://localhost:8080/odata4/static.1/Source/auth?$filter=id eq 1
      
      Not-working URL
      Unable to find source-code formatter for language: plain. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      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>
      
      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>
      

      Attachments

        Activity

          People

            rhn-engineering-shawkins Steven Hawkins
            jdurani Juraj DurĂ¡ni (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: