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

Wrong implementation of MarkupFragment.iterator()

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.2.0
    • Fix Version/s: 7.7.0, 8.0.0-M6
    • Component/s: wicket
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: