myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Freedman (JIRA)" <...@myfaces.apache.org>
Subject [jira] Resolved: (PORTLETBRIDGE-123) Bridge's PortletNamingContainerUIViewRoot throws NullPointException if its id is never set
Date Fri, 19 Feb 2010 22:36:28 GMT

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

Michael Freedman resolved PORTLETBRIDGE-123.
--------------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0
                   1.0.0

Both setId and getContainerClientId have been fixed up to default to just using the portletnamespace
as the id if null when called.

> Bridge's PortletNamingContainerUIViewRoot throws NullPointException if its id is never
set
> ------------------------------------------------------------------------------------------
>
>                 Key: PORTLETBRIDGE-123
>                 URL: https://issues.apache.org/jira/browse/PORTLETBRIDGE-123
>             Project: MyFaces Portlet Bridge
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 1.0.0-beta, 2.0.0-alpha
>            Reporter: Michael Freedman
>            Assignee: Michael Freedman
>             Fix For: 1.0.0, 2.0.0
>
>
> In some component kits (Facelets at least) the id of the UIViewRoot isn't set.  The Bridge's
PortletNamingContainerUIViewRoot assume it will have been set and references it in setId (from
a restore).  Instead the code should check for null and default the id to just <portletNamespaceID>_

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