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

Portlet registered through OSGi inconsistently not published or available after a DB upgrade

Details

    • 1
    • 3
    • S05E06 - Donkey Kong, S05E07 - Axie Infinity
    • Regression Bug

    Description

      Note that, even though this is failing for Client Extensions, the root cause of the issue is that a Portlet registered dinamically using OSGi is not really acknowledged by the backend infrastructure. This only happens when the registration is done while a DB upgrade is being run.

      The workaround described in the Actual Result section makes the Portlet be redeployed outside of the DB upgrade context, which fixes the problem.


      LocalFile.RemoteAppsUpgrade#CanViewRemoteAppCustomElementPortletAfterUpgrade7413
      Poshi
      Jenkins

           [exec]     BUILD FAILED: Element is not present at "//vanilla-counter"
           [exec]     /opt/dev/projects/github/liferay-portal/portal-web/test/functional/com/liferay/portalweb/tests/enduser/frontendinfrastructure/uiinfrastructure/remotewebapps/RemoteAppsUpgrade.testcase[CanViewRemoteAppCustomElementPortletAfterUpgrade7413]:51
      

      Steps to Reproduce:

      1. Create Client Extension (custom element) on 7.4.13
      2. Add Client Extension to page
      3. Upgrade to latest DXP (7.4 U29/master DXP)
      4. Navigate to page

      Expected Result:
      Client Extension is visible on page

      Actual Result:
      Client Extension is unavailable

      As workaround, user can resubmit the client extension and re-add it to the page.

      Reproduced on:
      Tomcat 9.0 + MySQL 5.7
      Portal master GIT ID: 570c245e9e6a70bac541e71e4c688401b5c779d2

      Attachments

        Issue Links

          Activity

            People

              support-lep@liferay.com SE Support
              piernicolo.pinna Pier Nicolò Pinna
              Rafaela Nascimento Rafaela Nascimento
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                27 weeks, 2 days ago

                Packages

                  Version Package