You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Frederik Zimmer (JIRA)" <ji...@apache.org> on 2017/05/11 13:33:05 UTC
[jira] [Created] (OLINGO-1124) Client proxy: incorrect normalize
implementation in TransactionItems
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)