Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-983

string methods trim, substring, and concat throw not supported exception.

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 1.9
    • API, Linq, Operations
    • .NET 4.5, Win 7, VS2012, Web API 2.2 OData v4.

    Description

      When attempting to use a Web API service (v2.2) with OData v4 (nightly build 5.2.0-alpha1-140420) the following string functions do not work:
      Trim
      Substring
      Concat

      These are functions that per the OData v4 spec we must support (http://docs.oasis-open.org/odata/odata/v4.0/odata-v4.0-part1-protocol.html):
      concat(concat(City,', '), Country) eq 'Berlin, Germany'
      trim(CompanyName) eq 'Alfreds Futterkiste'
      substring(CompanyName,1) eq 'lfreds Futterkiste'

      Attachments

        Activity

          People

            Unassigned Unassigned
            bothead bothead
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: