[
https://issues.apache.org/jira/browse/OLINGO-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Frederik Zimmer updated OLINGO-1124:
------------------------------------
Attachment: OLINGO1124-Client-proxy-incorrect-normalize-implemen.patch
Bugfix with a test case.
> 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
> Attachments:
> OLINGO1124-Client-proxy-incorrect-normalize-implemen.patch
>
>
> 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)