Uploaded image for project: 'Pluto'
  1. Pluto
  2. PLUTO-384

PortletContextManager.getPortletApplicationDescriptor returns null when a portlet context cannot be found.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1.3, 1.2.0
    • 1.1.4, 1.2.0
    • portlet container
    • 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)

      { return ipc.getPortletApplicationDefinition(); }

      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.

      Attachments

        Activity

          People

            emetsger Elliot Metsger
            emetsger Elliot Metsger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: