You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2017/04/07 19:45:41 UTC

[jira] [Commented] (WICKET-6339) Wrong implementation of MarkupFragment.iterator()

    [ https://issues.apache.org/jira/browse/WICKET-6339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15961337#comment-15961337 ] 

Martin Grigorov commented on WICKET-6339:
-----------------------------------------

Friendly ping! :-)

> Wrong implementation of MarkupFragment.iterator()
> -------------------------------------------------
>
>                 Key: WICKET-6339
>                 URL: https://issues.apache.org/jira/browse/WICKET-6339
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 7.2.0
>            Reporter: Sven Ackermann
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)