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/16 12:03:00 UTC
[jira] [Commented] (OLINGO-1592) "createSelfLink()" function inside "AtomEntryEntityProducer.java" appends extra parenthesis if "createEntryKey(eia, data)" is empty or null
[ https://issues.apache.org/jira/browse/OLINGO-1592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17677339#comment-17677339 ]
Shubham Kansal commented on OLINGO-1592:
----------------------------------------
Hi Team,
Any updates here, we are blocked on this.
> "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
> Priority: Major
>
> 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)