olingo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Grande (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OLINGO-1121) Can not create entities via to one navigation property
Date Tue, 16 May 2017 13:02:04 GMT

    [ https://issues.apache.org/jira/browse/OLINGO-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16012315#comment-16012315

Oliver Grande commented on OLINGO-1121:

Hello Christian,

I had a small discussion with Ralf Handl and he agree with you.


> Can not create entities via to one navigation property
> ------------------------------------------------------
>                 Key: OLINGO-1121
>                 URL: https://issues.apache.org/jira/browse/OLINGO-1121
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata2-core
>    Affects Versions: V2 2.0.8
>            Reporter: Oliver Grande
>            Assignee: Christian Amend
> I try to create three entities via a $batch request with three POSTs. One "top-level"
entity and two related ones. One of the navigation properties is a "To One" and the other
one is a "To Many" relation.
> Whereas the "Top Level" and the "To Many" are processed without any problem, the To One
aborts with an  ODataMethodNotAllowedException. 
> Some debugging showed that the "To Many" gets UriType URI6B, where as "To One" gets UriType
URI6A. Later in ODataRequestHandler. validateUriMethod POST is forbidden for URI6A.
> Please enable POST for URI6A  as well.
> Regards,
> Oliver

This message was sent by Atlassian JIRA

View raw message