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

Client proxy: incorrect normalize implementation in TransactionItems

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • (Java) V4 4.3.0
    • None
    • odata4-ext
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            frederik.zimmer Frederik Zimmer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: