You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Michael Kurz (JIRA)" <de...@myfaces.apache.org> on 2009/11/29 20:53:20 UTC

[jira] Updated: (MYFACES-2432) InsertChildrenHandler.RelocateAllChildrenListener throws IndexOutOfBoundsException

     [ https://issues.apache.org/jira/browse/MYFACES-2432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Kurz updated MYFACES-2432:
----------------------------------

    Status: Patch Available  (was: Open)

> InsertChildrenHandler.RelocateAllChildrenListener throws IndexOutOfBoundsException
> ----------------------------------------------------------------------------------
>
>                 Key: MYFACES-2432
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2432
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.0.0-alpha
>            Reporter: Michael Kurz
>         Attachments: MYFACES-2432.patch
>
>
> InsertChildrenHandler.RelocateAllChildrenListener throws IndexOutOfBoundsException for composite components with composite:insertChildren tag. The reason for this is that the listener is initialized with the wrong index. Should be parent.getChildCount() instead of parentCompositeComponent.getChildCount() to insert child components at the correct position when the listener is called.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.