You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Oliver Grande (JIRA)" <ji...@apache.org> on 2017/05/08 07:37:04 UTC
[jira] [Created] (OLINGO-1121) Can not create entities via to one
navigation property
Oliver Grande created OLINGO-1121:
-------------------------------------
Summary: 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
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
(v6.3.15#6346)