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

renderBundleComboURLs can exceed maximum size, sometimes causing js not to load

    Details

      Description

      Description
      renderBundleComboURLs can exceed maximum size, sometimes causing js not to load in IE11. Because the cutoff can occur at different places based on all aspects of the URL and other parameters, it can be difficult to reproduce. I reproduced it on 7.1 @ bedf729391ee066dbb3c94cce2faf187665fcbf4, but the code creating this issue is also present in master.

      Steps to reproduce

      1. 7.1.x @ bedf729391ee066dbb3c94cce2faf187665fcbf4
      2. Change [CATALINA_HOME]/conf/Catalina/localhost/ROOT.xml to [CATALINA_HOME]/conf/Catalina/localhost/liferay.xml
      3. Change [CATALINA_HOME]/webapps/ROOT to [CATALINA_HOME]/webapps/liferay
      4. Set "minifier.enabled=false" in portal-ext.properties
      5. Start Liferay
      6. Access "http://localhost:8080/liferay/" with IE11 (Please clear the cache just in case)
      7. Login and navigate to Build > Pages
      8. Click on "Configure(gear)" button
      9. Click on "Change Current Theme" button

      Actual result
      "Change Current Theme" button does not work. And errors appear in console.

      Expected result
      "Change Current Theme" button works properly creating a pop up.

      Additional Notes:

      • Specific to IE 11 (not reproducible in Chrome)
      • Context needs to be changed
      • Must have "minifier.enabled=false" in portal-ext.properties
      • Errors when rendering the page: Liferay.Portlet.register() fails because Liferay.Portlet is null (with js_fast_load=0 it isn't null), other Liferay.Portlet calls also fail because it is null.
      • Adding the parameter js_fast_load=0 allows it to work, js_fast_load=1 returns it to broken

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              summer.zhang Summer Zhang
              Reporter:
              joshua.cords Joshua Cords
              Participants of an Issue:
              Recent user:
              Jason Pince
              Engineering Assignee:
              Joshua Cords
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 46 weeks, 2 days ago

                  Packages

                  Version Package
                  7.1.10 DXP FP14
                  7.1.X
                  7.2.10 DXP FP2
                  7.2.10.1 DXP SP1
                  7.2.1 CE GA2
                  7.2.X
                  7.3.10 DXP GA1
                  Master