Details

    • Epic/Theme:
    • Story Points:
      2
    • Fix Priority:
      4
    • Similar Issues:
      Show 5 results 

      Description

      Reproduced in 6.1.x and Trunk

      Use IE8 to reproduce

      Steps to reproduce:
      1. Start 6.1 GA2
      2. In Control Panel, add a new site.
      3. Stop server, and in portal-ext add the following property.

      com.liferay.portal.servlet.filters.language.LanguageFilter=false

      4. Restart Server
      5. Navigate back to Control Panel, and click on site drop down.
      The button is no longer functional.
      6. Click on Sites and try to add site. This button also does not respond.

      This property is causing JS issues in IE8.

      IE Errors:
      Message: Object doesn't support this property or method
      Line: 3
      Char: 66784
      Code: 0
      URI: http://172.16.16.126:8080/html/js/everything.jsp?browserId=ie&themeId=controlpanel&colorSchemeId=01&minifierType=js&minifierBundleId=javascript.everything.files&languageId=en_US&b=6120&t=1358539289167

      Message: 'Liferay.Panel' is null or not an object
      Line: 1
      Char: 1411
      Code: 0
      URI: http://172.16.16.126:8080/html/themes/control_panel/js/main.js?browserId=ie&minifierType=js&languageId=en_US&b=6120&t=1360355520000

        Issue Links

          Activity

          Hide
          Kenneth Chang (Inactive) added a comment - - edited

          I debugged the issue and found the following being replaced by LanguageFilter.java:

          @@ -154,12 +154,12 @@
          
          var toggler = event.panelTitle.all(’.lfr-panel-button’);
          
          if (toggler.size()) {
          -	 var title = Liferay.Language.get(’expand’);
          +	 var title = ‘\u0045\u0078\u0070\u0061\u006e\u0064′;
          
          if (state == ‘open’) {
          -	 title = Liferay.Language.get(’collapse’);
          +	 title = ‘\u0043\u006f\u006c\u006c\u0061\u0070\u0073\u0065′;
          }
          
          toggler.attr(’title’, title);
          }
          
          Show
          Kenneth Chang (Inactive) added a comment - - edited I debugged the issue and found the following being replaced by LanguageFilter.java: @@ -154,12 +154,12 @@ var toggler = event.panelTitle.all(’.lfr-panel-button’); if (toggler.size()) { - var title = Liferay.Language.get(’expand’); + var title = ‘\u0045\u0078\u0070\u0061\u006e\u0064′; if (state == ‘open’) { - title = Liferay.Language.get(’collapse’); + title = ‘\u0043\u006f\u006c\u006c\u0061\u0070\u0073\u0065′; } toggler.attr(’title’, title); }
          Hide
          Kenneth Chang (Inactive) added a comment -

          fixed in LPS-33210

          Show
          Kenneth Chang (Inactive) added a comment - fixed in LPS-33210
          Hide
          Pani Gui (Inactive) added a comment -

          PASSED Manual Testing following the steps in the description.

          Reproduced on:
          Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2.

          Javascript pops up in IE8 when setting LanguageFilter to false in portal-ext.properties.

          Fixed on:
          Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 23188e100c3c07d2717fe3d813845c3ef6df20e5.
          Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: f317fb8d042572b386b832d573bb52803cd0d161.

          There is no javascript in IE8 when LanguageFilter is set to false.

          Show
          Pani Gui (Inactive) added a comment - PASSED Manual Testing following the steps in the description. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2. Javascript pops up in IE8 when setting LanguageFilter to false in portal-ext.properties. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 23188e100c3c07d2717fe3d813845c3ef6df20e5. Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: f317fb8d042572b386b832d573bb52803cd0d161. There is no javascript in IE8 when LanguageFilter is set to false.

            People

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

              Dates

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

                Development

                  Structure Helper Panel