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 Freedman (JIRA)" <de...@myfaces.apache.org> on 2010/02/19 23:32:28 UTC

[jira] Created: (PORTLETBRIDGE-123) Bridge's PortletNamingContainerUIViewRoot throws NullPointException if its id is never set

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: 2.0.0-alpha, 1.0.0-beta
            Reporter: Michael Freedman
            Assignee: Michael Freedman


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.


[jira] Resolved: (PORTLETBRIDGE-123) Bridge's PortletNamingContainerUIViewRoot throws NullPointException if its id is never set

Posted by "Michael Freedman (JIRA)" <de...@myfaces.apache.org>.
     [ 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.