Pluto
  1. Pluto
  2. PLUTO-384

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

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor 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.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        4d 22h 36m 1 Elliot Metsger 01/Jul/07 19:08
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12564777 ] jira [ 12586260 ]
        Mark Thomas made changes -
        Workflow jira [ 12407108 ] Default workflow, editable Closed status [ 12564777 ]
        Elliot Metsger made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Hide
        Elliot Metsger added a comment -

        A PortletContainerException is now thrown when a application id (context) cannot be found.

        Show
        Elliot Metsger added a comment - A PortletContainerException is now thrown when a application id (context) cannot be found.
        Elliot Metsger created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development