[teiid-issues] [JBoss JIRA] (TEIID-3914) Datetime values not properly encoded in OData4 entity identifiers

Simon Evenepoel (JIRA) issues at jboss.org
Wed Jan 20 03:56:01 EST 2016


     [ https://issues.jboss.org/browse/TEIID-3914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Evenepoel updated TEIID-3914:
-----------------------------------
           Description: 
When the primary key of an OData entry consists of a timestamp or datetime value an odata get request returns the following error message:

java.net.URISyntaxException: Illegal character in scheme name at index n: tablename(partofkey='keyvalue',datepartofkey=2016-01-13 11:25:03.884)

For more information visit this thread on the user forums in which [~shawkins] said:
_"Actually there is an issue with our handling of building the entity id to go into the response.  We are not properly encoding datatime values.''_



  was:
When the primary key of an OData entry consists of a timestamp or datetime value an odata get request returns the following error message:


For more information visit this thread on the user forums:
[https://developer.jboss.org/message/949160]

    Steps to Reproduce: Make an OData V4 call to a table that has a timestamp or datetime value as part of the primary key.
                Labels: odata,  (was: )
       Forum Reference: https://developer.jboss.org/message/949160


> Datetime values not properly encoded in OData4 entity identifiers
> -----------------------------------------------------------------
>
>                 Key: TEIID-3914
>                 URL: https://issues.jboss.org/browse/TEIID-3914
>             Project: Teiid
>          Issue Type: Bug
>          Components: OData
>    Affects Versions: 8.12.4
>            Reporter: Simon Evenepoel
>            Assignee: Steven Hawkins
>              Labels: odata,
>
> When the primary key of an OData entry consists of a timestamp or datetime value an odata get request returns the following error message:
> java.net.URISyntaxException: Illegal character in scheme name at index n: tablename(partofkey='keyvalue',datepartofkey=2016-01-13 11:25:03.884)
> For more information visit this thread on the user forums in which [~shawkins] said:
> _"Actually there is an issue with our handling of building the entity id to go into the response.  We are not properly encoding datatime values.''_



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the teiid-issues mailing list