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

The style book editor is broken when the site doesn't have page

    Details

      Description

      Step to reproduce:

      1. Add a new site
      2. Product Menu > Design > Style Books
      3. Add a new style book

      Expected Results:
      The following message should be shown in page preview iframe:

      • You cannot preview the style book because there are no pages in this site.

      Actual Results:
      The style book editor is broken. The following error is thrown in browser console:

      Reproduced on:
      Tomcat 9.0.33 + MySQL 5.7. Portal master GIT ID: 86c9e22c4ba247742fce5cb5b199c6cc3389e45a.

      Cannot be reproduced on:
      Tomcat 9.0.33 + MySQL 5.7. Portal master GIT ID:
      ee38cb9dae3fa80e265d7df3f9532007d75d1d3d.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              yang.cao Yang Cao
              Reporter:
              yang.cao Yang Cao
              Participants of an Issue:
              Recent user:
              David Gutiérrez Mesa
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  7.3.4 CE GA5
                  7.3.10 DXP GA1
                  Master