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

OpenSocial on Jetty breaks because database queries happen before tables are created

    Details

    • Branch Version/s:
      5.2.x, 5.1.x
    • Backported to Branch:
      Committed

      Description

      The root cause is that OpenSocialServletContextListener.portalInit fires BEFORE PluginPackageHotDeployListener.doInvokeDeploy

      PluginPackageHotDeployListener ensures the tables are created

      OpenSocialServletContextListener depends on those tables

      Therefore, OpenSocialServletContextListener must occur before PluginPackageHotDeployListener

      The fix is very general and ensures that all HotDeployEvents occur BEFORE ServletContextListener events that are toggled via PortalInitable

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                support-lep@liferay.com SE Support
                Reporter:
                brian.chan Brian Chan
                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:
                  10 years, 5 weeks ago

                  Packages

                  Version Package
                  6.0.3 GA