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

"JavaScript Minifier failed" error for French Social Activity

    Details

      Description

      "JavaScript Minifier failed" error for French Social Activity. When the user changes the language to French and tries to enable Social Activity, "Javascript Minifier failed" displays (full exception attached) and Social Activity grid does not display.

      Steps to reproduce:

      1. Add Language portlet
      2. Click the French Flag
      3. Navigate to "Allez a" > "Activite sociale"
        • Exceptions are thrown (fr-SA exception.txt) and Social Activity grid does not display (fr-Social Activity.jpg)
      22:24:01,768 ERROR [MinifierUtil:108] 79: 459: missing } after property list
      22:24:01,770 ERROR [MinifierUtil:108] 79: 1578: unterminated string literal
      22:24:01,770 ERROR [MinifierUtil:108] 81: 21: missing ) in parenthetical
      22:24:01,771 ERROR [MinifierUtil:108] 82: 29: syntax error
      22:24:01,771 ERROR [MinifierUtil:108] 83: 30: syntax error
      22:24:01,772 ERROR [MinifierUtil:108] 84: 30: syntax error
      22:24:01,772 ERROR [MinifierUtil:108] 85: 31: syntax error
      22:24:01,772 ERROR [MinifierUtil:108] 86: 6: syntax error
      22:24:01,773 ERROR [MinifierUtil:108] 87: 15: syntax error
      22:24:01,773 ERROR [MinifierUtil:108] 88: 15: syntax error
      22:24:01,774 ERROR [MinifierUtil:108] 90: 3: syntax error
      22:24:01,775 ERROR [MinifierUtil:108] 144: 9: syntax error
      22:24:01,775 ERROR [MinifierUtil:108] 1: 0: Compilation produced 12 syntax errors.
      22:24:01,776 ERROR [MinifierUtil:74] JavaScript Minifier failed for
      
      // <![CDATA[
      
                                      Liferay.Portlet.onLoad(
                                              {
                                                      canEditTitle: true,
                                                      columnPos: 0,
                                                      isStatic: 'end',
                                                      namespacedId: 'p_p_id_160_',
                                                      portletId: '160',
                                                      refreshURL: '\x2fc\x2fportal\x2frender_portlet\x3fp_l_id\x3d10175\x26p_p_id\x3d160\x26p_p_lifecycle\x3d0\x26p_t_lifecycle\x3d0\x26p_p_state\x3dnormal\x26p_p_mode\x3dview\x26p_p_col_id\x3d\x26p_p_col_pos\x3d0\x26p_p_col_count\x3d0\x26p_p_isolated\x3d1\x26currentURL\x3d\x252Fgroup\x252Fcontrol_panel\x252Fmanage\x253Fp_p_id\x253D179\x2526p_p_lifecycle\x253D0\x2526p_p_state\x253Dmaximized\x2526p_p_mode\x253Dview\x2526doAsGroupId\x253D10180\x2526refererPlid\x253D10183'
                                              }
                                      );
      
                                      Liferay.Portlet.onLoad(
                                              {
                                                      canEditTitle: true,
                                                      columnPos: 0,
                                                      isStatic: 'end',
                                                      namespacedId: 'p_p_id_179_',
                                                      portletId: '179',
                                                      refreshURL: '\x2fc\x2fportal\x2frender_portlet\x3fp_l_id\x3d10175\x26p_p_id\x3d179\x26p_p_lifecycle\x3d0\x26p_t_lifecycle\x3d0\x26p_p_state\x3dmaximized\x26p_p_mode\x3dview\x26p_p_col_id\x3d\x26p_p_col_pos\x3d0\x26p_p_col_count\x3d0\x26p_p_isolated\x3d1\x26currentURL\x3d\x252Fgroup\x252Fcontrol_panel\x252Fmanage\x253Fp_p_id\x253D179\x2526p_p_lifecycle\x253D0\x2526p_p_state\x253Dmaximized\x2526p_p_mode\x253Dview\x2526doAsGroupId\x253D10180\x2526refererPlid\x253D10183\x26refererPlid\x3d10183\x26doAsGroupId\x3d10180'
                                              }
                                      );
      
                                      Liferay.Portlet.onLoad(
                                              {
                                                      canEditTitle: true,
                                                      columnPos: 0,
                                                      isStatic: 'end',
                                                      namespacedId: 'p_p_id_145_',
                                                      portletId: '145',
                                                      refreshURL: '\x2fc\x2fportal\x2frender_portlet\x3fp_l_id\x3d10175\x26p_p_id\x3d145\x26p_p_lifecycle\x3d0\x26p_t_lifecycle\x3d0\x26p_p_state\x3dnormal\x26p_p_mode\x3dview\x26p_p_col_id\x3d\x26p_p_col_pos\x3d0\x26p_p_col_count\x3d0\x26p_p_isolated\x3d1\x26currentURL\x3d\x252Fgroup\x252Fcontrol_panel\x252Fmanage\x253Fp_p_id\x253D179\x2526p_p_lifecycle\x253D0\x2526p_p_state\x253Dmaximized\x2526p_p_mode\x253Dview\x2526doAsGroupId\x253D10180\x2526refererPlid\x253D10183'
                                              }
                                      );
      
                      Liferay.provide(
                              Liferay.Portlet,
                              'refreshLayout',
                              function(portletBound) {
                                      if (!portletBound.isStatic) {
                                              Liferay.Layout.refresh(portletBound);
                                      }
                              },
                              ['liferay-layout']
                      );
              AUI().use('aui-base', 'liferay-form', 'liferay-menu', 'liferay-notice', 'liferay-panel', 'liferay-poller', 'liferay-session', 'liferay-social-activity-admin', function(A) {(function() {Liferay.Menu.register('_160_groupSelector');})();(function() {
              var panel = new Liferay.Panel(
                      {
                              accordion: false,
      

        Attachments

          Activity

            People

            Assignee:
            christine.pince Christine Pince (Inactive)
            Reporter:
            christine.pince Christine Pince (Inactive)
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              9 years, 39 weeks, 6 days ago

                Packages

                Version Package
                6.1.0 CE GA1
                --Sprint 11/12
                6.2.0 CE M2