Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-1311

Can not get entity with string key containing "_"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Implemented
    • V2 2.0.11
    • V2 2.0.11
    • odata2-jpa
    • None

    Description

      This issue is similar to OLINGO-1098 and OLINGO-1218. Currently it is not possible to get an entity by a string key which contains an underscore "_".

      I have tested the mentioned above tickets and they are working now as expected:

      Cars?$filter=Id eq 'Model_3'
      

      But when trying to get the data for that single entry I do not get the correct response (empty response):

      Cars('Model_3')

      I had a look at the previous commits but unfortunely I am not that deep in Olingo Core coding to solve the issue myself so I can create a PR.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              matthias.guenter Matthias Günter
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: