Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-17037

PortletFilter loses reference to portletclassloader on redeploy

    Details

    • Branch Version/s:
      6.0.x
    • Backported to Branch:
      Committed
    • Liferay Contributor's Agreement:
      Accept

      Description

      When you create a portlet which has a portlet filter configured and you redeploy the portlet, the portlet filter will no longer be able to reference any classes from the portlet or the portal.

      I tracked the problem down to a problem in PortletHotDeployListener. When initPortlet is called the old PortletContextBag is still in the PortletContextBagPool which causes PortletFilterFactory to obtain a reference to a proxied filter which holds a reference to a classloader that points nowhere

      I will attach a patch that solves the problem

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              minhchau.dang Minhchau Dang
              Reporter:
              jelmer Jelmer Kuperus (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 17 weeks, 6 days ago

                  Packages

                  Version Package
                  6.0.12 EE
                  6.1.0 CE RC1