You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Madhuri Muthyalu (JIRA)" <ji...@apache.org> on 2015/07/03 08:29:04 UTC

[jira] [Created] (OLINGO-721) Removing links between the entities throws exception

Madhuri Muthyalu created OLINGO-721:
---------------------------------------

             Summary: Removing links between the entities throws exception
                 Key: OLINGO-721
                 URL: https://issues.apache.org/jira/browse/OLINGO-721
             Project: Olingo
          Issue Type: Bug
          Components: odata2-jpa
    Affects Versions: V2 2.0.4
            Reporter: Madhuri Muthyalu


Consider 2 entities A and B, there is a bidirectional association between these entities(A -> B and Goal->Patient). 

Created an association between these entities via $links refer the below URI
<root-url>/B(5001L)/$links/ADetails with the request payload as 
  {
          "uri":"A(4901L)"
        }
and the association gets created able to retrieve this data via $expand

Now tried to remove this association via $links with the HTTP DELETE request refer to the following URI
<root-url>/A(4901L)/$links/BDetails(5001L)
Get an exception "Object: null is not a known Entity type."



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)