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

Article Display Page entries are not added during the upgrade using an Oracle database

    Details

      Description

      Condition checked here  during the AssetDisplayPageEntry upgrade returns always false in case of Oracle databases, specifically:

      JournalArticle.layoutUuid != ''

      is evaluated to false (it needs to be transformed, since for example that expression does not exist for Oracle databases), so no record is returned.

       

      Reproduction steps:

      1) Setup Oracle database with Liferay 6.2 or 7.0.
      2) Create a basic web content and define a display page.
      3) Perform an upgrade to 7.1, 7.2 or master.
      4a) Check out the table 'assetdisplaypageentry'
      4b) on the UI the check whether the display page is set

       Expected result:

      • you can see the defined display page entries in the DB
      • on the portal the display page is set correctly

       Actual Result:

      • the table is not populated 
      • display page is set to None by default (clicking on 'Use a specific display page for the web content', the correct display page is shown)

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              brooke.dalton Brooke Dalton
              Reporter:
              cristina.rodriguez Cristina Rodriguez
              Participants of an Issue:
              Recent user:
              Joel Garman
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 21 weeks, 2 days ago

                  Packages

                  Version Package
                  7.1.10 DXP FP13
                  7.1.X
                  Master