myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Kurz (JIRA)" <...@myfaces.apache.org>
Subject [jira] Updated: (MYFACES-2432) InsertChildrenHandler.RelocateAllChildrenListener throws IndexOutOfBoundsException
Date Sun, 29 Nov 2009 19:53:20 GMT

     [ 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.


Mime
View raw message