You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2010/03/17 18:25:27 UTC

[jira] Reopened: (MYFACES-2611) UIComponentBase.getFacetsAndChildren() must not access the component's facets and children directly

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

Leonardo Uribe reopened MYFACES-2611:
-------------------------------------


The code committed trigger the creation of wrappers. if the check for null cannot be done, it should be done through getFacetCount or getChildCount.

> UIComponentBase.getFacetsAndChildren() must not access the component's facets and children directly
> ---------------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-2611
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2611
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.0.0-beta, 2.0.0-beta-2
>            Reporter: Jakob Korherr
>            Assignee: Jakob Korherr
>             Fix For: 2.0.0-beta-3
>
>
> Currently UIComponentBase.getFacetsAndChildren() accesses the component's facets and children directly over the properties _facetMap and _childrenList. This is a problem when a component does not use those fields for its children or facets. One example is the PartialViewRoot of PrimeFaces.
> See also the thread on the mailing list: http://www.mail-archive.com/users@myfaces.apache.org/msg55175.html

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