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

Staging-Throwing exception after upgrading from 6.2.

    Details

      Description

      Description
      Cannot re-enable staging after upgrading from 6.2.

      Steps to reproduce

      1. Import attached MySql dumpĀ [^stag_2020-09-02.sql]
        It's a clean 6.2 database with 2 sites with remote staging enabled
        (How to simulate a remote staging environment with one portal)
      2. Unzip DXP-7.1 SP4 and install DXP-18
      3. Upgrade the DB to 7.1
      4. Start Liferay
      5. Navigate to Control Panel > Sites > Sites
      6. Add a new site named STAG_local and copy the Site ID
      7. Navigate to Site:STAG > Publishing > Staging > Staging configuration (option button on the right top corner)
      8. Force disable the current remote staging
      9. Enable staging but this time for the newly created site:STAG_localĀ 

      Actual result
      Staging is enabled and works BUT the following error is thrown:

      2020-09-02 06:27:57.067 ERROR [http-nio-8080-exec-4][IncludeTag:128] Current URL /group/stag/~/control_panel/manage?p_p_id=com_liferay_staging_processes_web_portlet_StagingProcessesPortlet&p_p_lifecycle=0&p_p_state=maximized&_com_liferay_staging_processes_web_portlet_StagingProcessesPortlet_remoteStagingEnabled=true&p_p_auth=Te6JZDSp generates exception: com.liferay.exportimport.kernel.exception.NoSuchConfigurationException: No ExportImportConfiguration exists with the primary key 0
      com.liferay.exportimport.kernel.exception.NoSuchConfigurationException: No ExportImportConfiguration exists with the primary key 0

      Expected result
      No error is thrown.

      Note
      The upgrade is a required step

      Reproduced in
      DXP-18

      Can't test in
      Master and 7.2.x (cannot perform the upgrade from 6.2)

      * Please see Zendesk Support tab for further comments and attachments.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              joyce.wang Joyce Wang
              Reporter:
              to.trinh To To Trinh
              Participants of an Issue:
              Recent user:
              Yunlin "Steven" Sun
              Engineering Assignee:
              Hau Bui
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                31 weeks, 1 day ago

                  Packages

                  Version Package
                  7.1.10 DXP FP20
                  7.1.10.5 SP5
                  7.1.X
                  7.2.10 DXP FP9
                  7.2.X
                  7.3.X
                  7.3.5 CE GA6
                  7.3.10 DXP GA1
                  Master