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

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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.3, 1.2.0
    • Fix Version/s: 1.1.4, 1.2.0
    • Component/s: portlet container
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: