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

Duplicate key in IX_B27A301F with RSSWebUpgrade

    Details

      Description

      Steps to reproduce it master:

      1. Startup master in the commit 0d82ad977f1968a43d39a212be6b125bf6bb864a (just before --LPS-75969--)
      2. Once it's startup, shutdown it.
      3. Startup master in the LPS-77654 changes on head.

      Steps to Reproduce in 7.0.x:

      1. Start a DXP with a fixpack previous to DE-37
      2. Stop the server.
      3. Start the same server with a DE-37

       Actual Results:
      An exception regarding a duplicate key in index IX_B27A301F is generated during com.liferay.rss.web.internal.upgrade.RSSWebUpgrade upgrade process.
      Connecting to the Gogo console and executing upgrade:check you will get:
      There is an upgrade process available for com.liferay.rss.web from 1.0.0 to 3.0.0

      Expected Results:
      The portal starts without any exception.
      Connecting to the Gogo console and executing upgrade:check you won't get any pending upgrade process

       

       

      Meanwhile workaround:

      1. Once the portal is started execute from the Gogo console the command upgrade:check and ensure that the com.liferay.rss.web upgrade appears.
      2. If it appears, execute the following Groovy script:
        import com.liferay.portal.kernel.model.ClassName;
        import com.liferay.portal.kernel.service.ClassNameLocalServiceUtil;
        
        String newClassName = "com.liferay.rss.web.internal.util.RSSFeed";
        ClassName className = ClassNameLocalServiceUtil.getClassName(newClassName);
        
        ClassNameLocalServiceUtil.deleteClassName(className);
      1. From the Gogo console execute upgrade:execute com.liferay.rss.web and check that there are no additional errors in the console.

       

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 31 weeks, 3 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP42
                  7.0.6 CE GA7
                  7.0.0 DXP SP8
                  7.0.X
                  7.1.0 M2
                  7.1.X
                  Master