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

Alternate keys - Can not write a field name, expecting a value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • (Java) V4 4.6.0
    • None
    • odata4-server
    • None

    Description

      I'm attempting to create an alternate key annotation but it fails when generating the json document.

      Trying to create annotation that is similar to the following.

      https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/webapi/web-api-types-operations#bkmk_alternateKeys

      I received the error "An I/O exception occurred" which is created by the "Can not write a field name, expecting a value" error.

      This seems like a bugr or I'm not implementing the Alternate keys correctly. I could not locate any samples for Olingo and Alternate keys annotation.

      I have created a quick patch for one of the unit test that seem to reproduce the problem.  I was not sure where this unit test should really go - so feel free to move it.

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: