Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-5361

Attachments iterator may incorrectly handle its remove operation

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.9, 2.7.7
    • Fix Version/s: 3.0.0-milestone1, 2.7.8, 2.6.11
    • Component/s: Core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      When you try to iterate on the message attachments and use the iterator's remove method, you may get the IndexOutOfBounds exception or get an unexpected result.

      This issue is caused by the underlining attachment collection implementation LazyAttachmentCollection's iterator.

        Attachments

          Activity

            People

            • Assignee:
              ay Akitoshi Yoshida
              Reporter:
              ay Akitoshi Yoshida
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: