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)