Frederik Zimmer created OLINGO-1124:
---------------------------------------

             Summary: Client proxy: incorrect normalize implementation in 
TransactionItems
                 Key: OLINGO-1124
                 URL: https://issues.apache.org/jira/browse/OLINGO-1124
             Project: Olingo
          Issue Type: Bug
          Components: odata4-ext
    Affects Versions: (Java) V4 4.3.0
            Reporter: Frederik Zimmer


The method normalize in TransactionItems first collects the indices of the 
items without change that have to be removed. Then the items are removed by 
index. Removing an item of course changes the index of all elements in the list 
that have a higher index then the removed element. This then results in wrong 
items removed or in IndexOutOfBoundsException.
I will provide a patch with a bugfix.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to