Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.1.3, 1.2.0
-
None
Description
PortletContextManager (which is the implementation of PortletRegistryService) returns null when a portlet context cannot be found:
public PortletAppDD getPortletApplicationDescriptor(String applicationId) throws PortletContainerException {
InternalPortletContext ipc = (InternalPortletContext) portletContexts.get(applicationId);
if (ipc != null)
LOG.warn("Unable to retrieve portlet application descriptor: '"applicationId"'");
return null;
}
According to the PortletRegistryService interface, a PortletContainerException should be thrown if the descriptor can not be found or if the portlet.xml can not be parsed.