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

"No theme found" warnings thrown after upgrade to 7.0

Details

    Description

      Reproduced on:
      MySQL 5.6
      ee-6.2 > ee-7.0.x GIT ID: 761a3073054dbec73e532df57516ea44a005bb20.
      6.2.3 > master GIT ID: 48b12f811a36068721a277f9d7370a1e39e446aa.

      Not Reproducible on:
      MySQL 5.6
      blank database > ee-7.0.x GIT ID: 761a3073054dbec73e532df57516ea44a005bb20.
      blank database > master GIT ID: 48b12f811a36068721a277f9d7370a1e39e446aa.

      Steps to Reproduce:

      1. Start 6.2 server
      2. Select the classic theme as the default theme in the Liferay.com site.
      3. Login and shutdown it.
      4. Upgrade database to 7.0 with upgrade tool in 7.0 bundle tools/portal-tools-db-upgrade-client
        • java -jar com.liferay.portal.tools.db.upgrade.client.jar
      5. Start bundle

      Other way to reproduce it:

      1. Download attached database
      2. Import into MySQL
      3. Upgrade database to 7.0 with upgrade tool in 7.0 bundle tools/portal-tools-db-upgrade-client
        • java -jar com.liferay.portal.tools.db.upgrade.client.jar
      4. Start bundle

      Expected Result:
      Bundle starts and loads theme without issue.

      Actual Result:
      Theme Warnings are thrown during portal navigation.

      17:49:49,652 WARN  [http-nio-9080-exec-1][ThemeLocalServiceImpl:237] No theme found for specified theme id classic. Returning the default theme.
      17:49:49,655 WARN  [http-nio-9080-exec-1][ThemeLocalServiceImpl:237] No theme found for specified theme id classic. Returning the default theme.
      17:49:57,608 WARN  [http-nio-9080-exec-1][ThemeLocalServiceImpl:237] No theme found for specified theme id classic. Returning the default theme.
      17:49:57,609 WARN  [http-nio-9080-exec-1][ThemeLocalServiceImpl:237] No theme found for specified theme id classic. Returning the default theme.
      17:49:57,654 WARN  [http-nio-9080-exec-1][ThemeLocalServiceImpl:237] No theme found for specified theme id classic. Returning the default theme.
      17:49:57,655 WARN  [http-nio-9080-exec-1][ThemeLocalServiceImpl:237] No theme found for specified theme id classic. Returning the default theme.
      17:49:58,197 WARN  [http-nio-9080-exec-1][ThemeLocalServiceImpl:237] No theme found for specified theme id classic. Returning the default theme.
      17:49:58,198 WARN  [http-nio-9080-exec-1][ThemeLocalServiceImpl:237] No theme found for specified theme id classic. Returning the default theme.
      17:49:58,199 WARN  [http-nio-9080-exec-1][ThemeLocalServiceImpl:237] No theme found for specified theme id classic. Returning the default theme.
      17:49:58,277 WARN  [http-nio-9080-exec-1][ThemeLocalServiceImpl:237] No theme found for specified theme id classic. Returning the default theme.
      

      This does not occur on a non-upgraded bundle

      Attachments

        Issue Links

          Activity

            People

              sharry.shi Sharry Shi
              victor.ware Victor Ware
              Marta Elicegui Marta Elicegui
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                5 years, 12 weeks, 3 days ago

                Packages

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