You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by pl...@jakarta.apache.org on 2004/10/22 02:55:26 UTC

[jira] Resolved: (PLUTO-78) Pluto 1.1: portlet info not initialized when defined in resource external to portlet.xml

Message:

   The following issue has been resolved as FIXED.

   Resolver: David DeWolf
       Date: Thu, 21 Oct 2004 5:54 PM

This has been fixed.  In addition, I added a test to the testsuite to test ResourceBundle functionality.
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/PLUTO-78

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: PLUTO-78
    Summary: Pluto 1.1: portlet info not initialized when defined in resource external to portlet.xml
       Type: Bug

     Status: Resolved
   Priority: Minor
 Resolution: FIXED

    Project: Pluto
 Components: 
             portlet container
   Fix Fors:
             1.1.0-ALPHA
   Versions:
             unspecified

   Assignee: 
   Reporter: Scott Anderson

    Created: Wed, 20 Oct 2004 8:42 AM
    Updated: Thu, 21 Oct 2004 5:54 PM
Environment: Mac OS X, JDK 1.4.2, Tomcat 5.5

Description:
In the current Pluto 1.1 build...

If the portlet info properties are defined in an external resource bundle by specifying the resource bundle name in the portlet.xml descriptor as something like...

   <resource-bundle>ResourceBundleName</resource-bundle>

...and the <portlet-info> tags are omitted from the portlet.xml descriptor, then a NullPointerException is thrown by the constructor of org.apache.pluto.core.impl.ResourceBundleFactory because the method org.apache.pluto.core.impl.PortletConfigImpl.getResourceBundle() which calls this constructor is passing it an instance of org.apache.pluto.binding.PortletDD which contains no org.apache.pluto.binding.PortletInfoDD.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira