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

Datetime values not properly encoded in OData4 entity identifiers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.13, 9.0, 8.12.5
    • 8.12.4
    • OData
    • Hide

      Make an OData V4 call to a table that has a timestamp or datetime value as part of the primary key.

      Show
      Make an OData V4 call to a table that has a timestamp or datetime value as part of the primary key.

      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 rhn-engineering-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.''

              rhn-engineering-rareddy Ramesh Reddy
              simon.evenepoel Simon Evenepoel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: