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

Toggling Language Selector to Dutch (Netherlands) throws JavaScript errors and locks up Language Selector portlet

    Details

      Description

      Steps to reproduce:

      1. Add a Language Selector portlet to a page
      2. Toggle the language to Spanish > wait for page to finish loading
      3. Toggle the language to Dutch (Netherlands) > wait for page to finish loading
      4. Try to toggle the language portlet to another language

      Expected result:
      Users can continue toggling to other languages by clicking the flags in the Language Selector portlet.

      Actual result:
      In Edge browser, language toggling is rendered impossible, even after page reload.
      In Firefox and Chrome the language can still be toggled.
      In ALL instances, the following is thrown in console when clicking the Dutch flag:

      Jun 15, 2016 11:41:46 AM com.google.javascript.jscomp.parsing.ParserRunner parse
      INFO: Error parsing http://localhost:8080/web/guest/home: Compilation produced 4 syntax errors. (http://localhost:8080/web/guest/home#1)
      11:41:46,042 ERROR [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'][GoogleJavaScriptMinifier:116] (http://localhost:8080/web/guest/home:581): Parse error. missing } after property list
      11:41:46,051 ERROR [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'][GoogleJavaScriptMinifier:116] (http://localhost:8080/web/guest/home:581): Parse error. unterminated string literal
      11:41:46,059 ERROR [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'][GoogleJavaScriptMinifier:116] (http://localhost:8080/web/guest/home:583): Parse error. missing ; before statement
      11:41:46,069 ERROR [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'][GoogleJavaScriptMinifier:116] (http://localhost:8080/web/guest/home:585): Parse error. syntax error
      11:41:46,077 ERROR [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'][GoogleJavaScriptMinifier:129] {0} error(s), {1} warning(s)
      

        Attachments

          Activity

            People

            Assignee:
            brian.wulbern Brian Wulbern
            Reporter:
            brian.wulbern Brian Wulbern
            Participants of an Issue:
            Recent user:
            Marta Elicegui
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              5 years, 16 weeks, 4 days ago

                Packages

                Version Package
                7.0.0 DXP FP1
                7.0.2 CE GA3
                7.0.0 DXP SP1
                7.0.3 CE GA4
                Master