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

Require not defined in Hello Soy portlet when exploseGlobal is set to false

    Details

      Description

      When changing the JavaScript loader configuration and setting "exposeGlobal" to false, the "require" function is not defined in the Hello Soy Portlet.

      Steps to repdroduce:
      Go to Configuration > System Settings > Foundation > JavaScript Loader
      Uncheck the exposeGlobal checkbox
      Go back to the site
      Add the Hello Soy portlet to the page

      Current results:
      An error is thrown in the browser's JavaScript console saying that "require is not defined"

      Expected results:
      The "require" function should be defined regardless of the JavaScript Loader settings

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 19 weeks, 3 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP17
                  7.0.3 CE GA4
                  7.0.0 DXP SP4
                  7.0.X EE
                  7.1.X
                  Master