Ian created OLINGO-1399:
---------------------------

             Summary: Alternate keys - Can not write a field name, expecting a 
value 
                 Key: OLINGO-1399
                 URL: https://issues.apache.org/jira/browse/OLINGO-1399
             Project: Olingo
          Issue Type: Bug
          Components: odata4-server
    Affects Versions: (Java) V4 4.6.0
            Reporter: Ian
         Attachments: 0001-Unit-test-for-creating-alternate-keys.patch

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.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to