Details
-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
8.12.5
-
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>