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

Specify which layout was requested when reporting missing theme

    Details

    • Story Points:
      1.25
    • Fix Priority:
      2

      Description

      When some layout / layout set uses a theme which was undeployed (or its ID just changed because of webapp's or theme's renaming), you will end up with logs filled with warnings like:

      17:06:55,099 WARN  [http-bio-8081-exec-13][ThemeLocalServiceImpl:156] No theme found for specified theme id basic_WAR_basictheme. Returning the default theme.
      17:06:55,099 WARN  [RuntimePageImpl-1][ThemeLocalServiceImpl:156] No theme found for specified theme id basic_WAR_basictheme. Returning the default theme.
      

      It would be very useful to also log some pointer to the offending page. layoutId, groupId + friendlyUrl, full friendlyUrl, really anything unique to the layout that can lead to pinpointing the layout so that it can be fixed (another theme applied).

      It would also be nice if the warning would be logged only once per request, not nearly 50 times as it is now.

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            josef.sustacek Josef Šustáček
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              4 years, 15 weeks, 2 days ago

                Packages

                Version Package