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

JavaScript error when accessing control panel if the first portlet needs to load implicit main.js file

    Details

      Description

      If a user has permissions to access only one portlet that requires an implicit main.js file (or if that one is the first visible portlet), trying to go to sites administration may throw some js errors because some scripts are not loaded.

      Steps to reproduce:

      • Create a role OnlyCategories with the permissions described in the attachment
      • Create a user catuser and assign him only to the OnlyCategories role and the Liferay site
      • Log in with the user
      • Click on Admin > Content

      Result:
      A JS error is thrown in the console, caused by the implicit portlet main.js not being loaded.

      Expected:
      The categories portlet to show properly

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lu.liu Lu Liu
              Reporter:
              jose.balsas Chema Balsas (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  6.2.0 CE B1