Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-6339

Wrong implementation of MarkupFragment.iterator()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 7.2.0
    • 7.7.0, 8.0.0-M6
    • wicket
    • None

    Description

      The method returns getRootMarkup().iterator(startIndex, size), but this only works when getRootMarkup() == getParentMarkup() or all intermediate {{MarkupFragment}}s start at index 0.

      The startIndex of all intermediate {{MarkupFragment}}s must be added, otherwise the iterator starts at a wrong index.

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            svenackermann Sven Ackermann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: