You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Shubham Kansal (Jira)" <ji...@apache.org> on 2023/01/12 08:48:00 UTC
[jira] [Created] (OLINGO-1592) "createSelfLink()" function inside "AtomEntryEntityProducer.java" appends extra parenthesis if "createEntryKey(eia, data)" is empty or null
Shubham Kansal created OLINGO-1592:
--------------------------------------
Summary: "createSelfLink()" function inside "AtomEntryEntityProducer.java" appends extra parenthesis if "createEntryKey(eia, data)" is empty or null
Key: OLINGO-1592
URL: https://issues.apache.org/jira/browse/OLINGO-1592
Project: Olingo
Issue Type: Bug
Components: odata2-core
Reporter: Shubham Kansal
Line #596
"createSelfLink()" function inside "AtomEntryEntityProducer.java" appends extra parenthesis if "createEntryKey(eia, data)" is empty or null
-> There should be a check for "createEntryKey(eia, data)"
-> If this is empty or null, then extra parenthesis should also be removed.
Otherwise the payload results in BAD Request exception.
Reference - https://github.com/apache/olingo-odata2/blob/2.0.12/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/ep/producer/AtomEntryEntityProducer.java
--
This message was sent by Atlassian Jira
(v8.20.10#820010)