Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-1592

"createSelfLink()" function inside "AtomEntryEntityProducer.java" appends extra parenthesis if "createEntryKey(eia, data)" is empty or null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Blocker
    • Resolution: Unresolved
    • None
    • None
    • odata2-core
    • None

    Description

      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

      Attachments

        Activity

          People

            mirbo mibo
            skansal Shubham Kansal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: