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

"Unexpected identifier" error when trying to upload multiple documents and catalan languague is configured

    Details

      Description

      Steps to reproduce:

      1. Access http://localhost:8080/ca (using ca language)
      2. Go to Content and Data > Documents and Media (Contingut > Documents i fitxers multimèdia)
      3. Add Multiple Files Upload (Pujada de múltiples fitxers)

      Expected result: You can add multiple files via drag and drop or selecting them from your computer.
      Actual result: No option to drop or select files is presented. There is an error in browser's console:

      VM370:584 Uncaught SyntaxError: Unexpected identifier
       at ?browserId=chrome&minifierType=&languageId=ca_ES&b=7411&t=1622646144029&/o/js/resolved-module/[email protected]/liferay/util/fetch.es.js&/o/js/resolved-module/[email protected]/liferay/modal/components/SimpleInputModal.es.js&/o/js/resolved-module/[email protected]/liferay/modal/commands/OpenSimpleInputModal.es.js&/o/js/resolved-module/[email protected]/liferay/util/get_portlet_namespace.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_portlet_url.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_action_url.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_render_url.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_resource_url.es.js&/o/js/resolved-module/[email protected]/liferay/align.js&/o/js/resolved-module/[email protected]/liferay/util/session.es.js&/o/js/resolved-module/[email protected]/liferay/util/build_fragment.js&/o/js/resolved-module/[email protected]/liferay/toast/commands/OpenToast.es.js&/o/js/resolved-module/[email protected]/liferay/throttle.es.js&/o/js/resolved-module/[email protected]/liferay/util/add_params.js&/o/js/resolved-module/[email protected]/liferay/util/get_dom.js&/o/js/resolved-module/[email protected]/liferay/util/get_element.js&/o/js/resolved-module/[email protected]/liferay/util/in_browser_view.js&/o/js/resolved-module/[email protected]/liferay/util/focus_form_field.js&/o/js/resolved-module/[email protected]/liferay/util/get_portlet_id.js&/o/js/resolved-module/[email protected]/liferay/util/is_phone.js&/o/js/resolved-module/[email protected]/liferay/util/is_tablet.js&/o/js/resolved-module/[email protected]/liferay/util/normalize_friendly_url.js&/o/js/resolved-module/[email protected]/liferay/util/run_scripts_in_element.es.js&/o/js/resolved-module/[email protected]/index.es.js:45
       at o (?browserId=chrome&minifierType=&languageId=ca_ES&b=7411&t=1622646144029&/o/js/resolved-module/[email protected]/liferay/util/fetch.es.js&/o/js/resolved-module/[email protected]/liferay/modal/components/SimpleInputModal.es.js&/o/js/resolved-module/[email protected]/liferay/modal/commands/OpenSimpleInputModal.es.js&/o/js/resolved-module/[email protected]/liferay/util/get_portlet_namespace.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_portlet_url.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_action_url.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_render_url.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_resource_url.es.js&/o/js/resolved-module/[email protected]/liferay/align.js&/o/js/resolved-module/[email protected]/liferay/util/session.es.js&/o/js/resolved-module/[email protected]/liferay/util/build_fragment.js&/o/js/resolved-module/[email protected]/liferay/toast/commands/OpenToast.es.js&/o/js/resolved-module/[email protected]/liferay/throttle.es.js&/o/js/resolved-module/[email protected]/liferay/util/add_params.js&/o/js/resolved-module/[email protected]/liferay/util/get_dom.js&/o/js/resolved-module/[email protected]/liferay/util/get_element.js&/o/js/resolved-module/[email protected]/liferay/util/in_browser_view.js&/o/js/resolved-module/[email protected]/liferay/util/focus_form_field.js&/o/js/resolved-module/[email protected]/liferay/util/get_portlet_id.js&/o/js/resolved-module/[email protected]/liferay/util/is_phone.js&/o/js/resolved-module/[email protected]/liferay/util/is_tablet.js&/o/js/resolved-module/[email protected]/liferay/util/normalize_friendly_url.js&/o/js/resolved-module/[email protected]/liferay/util/run_scripts_in_element.es.js&/o/js/resolved-module/[email protected]/index.es.js:45)
       at i (?browserId=chrome&minifierType=&languageId=ca_ES&b=7411&t=1622646144029&/o/js/resolved-module/[email protected]/liferay/util/fetch.es.js&/o/js/resolved-module/[email protected]/liferay/modal/components/SimpleInputModal.es.js&/o/js/resolved-module/[email protected]/liferay/modal/commands/OpenSimpleInputModal.es.js&/o/js/resolved-module/[email protected]/liferay/util/get_portlet_namespace.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_portlet_url.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_action_url.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_render_url.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_resource_url.es.js&/o/js/resolved-module/[email protected]/liferay/align.js&/o/js/resolved-module/[email protected]/liferay/util/session.es.js&/o/js/resolved-module/[email protected]/liferay/util/build_fragment.js&/o/js/resolved-module/[email protected]/liferay/toast/commands/OpenToast.es.js&/o/js/resolved-module/[email protected]/liferay/throttle.es.js&/o/js/resolved-module/[email protected]/liferay/util/add_params.js&/o/js/resolved-module/[email protected]/liferay/util/get_dom.js&/o/js/resolved-module/[email protected]/liferay/util/get_element.js&/o/js/resolved-module/[email protected]/liferay/util/in_browser_view.js&/o/js/resolved-module/[email protected]/liferay/util/focus_form_field.js&/o/js/resolved-module/[email protected]/liferay/util/get_portlet_id.js&/o/js/resolved-module/[email protected]/liferay/util/is_phone.js&/o/js/resolved-module/[email protected]/liferay/util/is_tablet.js&/o/js/resolved-module/[email protected]/liferay/util/normalize_friendly_url.js&/o/js/resolved-module/[email protected]/liferay/util/run_scripts_in_element.es.js&/o/js/resolved-module/[email protected]/index.es.js:45)
       at ?browserId=chrome&minifierType=&languageId=ca_ES&b=7411&t=1622646144029&/o/js/resolved-module/[email protected]/liferay/util/fetch.es.js&/o/js/resolved-module/[email protected]/liferay/modal/components/SimpleInputModal.es.js&/o/js/resolved-module/[email protected]/liferay/modal/commands/OpenSimpleInputModal.es.js&/o/js/resolved-module/[email protected]/liferay/util/get_portlet_namespace.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_portlet_url.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_action_url.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_render_url.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_resource_url.es.js&/o/js/resolved-module/[email protected]/liferay/align.js&/o/js/resolved-module/[email protected]/liferay/util/session.es.js&/o/js/resolved-module/[email protected]/liferay/util/build_fragment.js&/o/js/resolved-module/[email protected]/liferay/toast/commands/OpenToast.es.js&/o/js/resolved-module/[email protected]/liferay/throttle.es.js&/o/js/resolved-module/[email protected]/liferay/util/add_params.js&/o/js/resolved-module/[email protected]/liferay/util/get_dom.js&/o/js/resolved-module/[email protected]/liferay/util/get_element.js&/o/js/resolved-module/[email protected]/liferay/util/in_browser_view.js&/o/js/resolved-module/[email protected]/liferay/util/focus_form_field.js&/o/js/resolved-module/[email protected]/liferay/util/get_portlet_id.js&/o/js/resolved-module/[email protected]/liferay/util/is_phone.js&/o/js/resolved-module/[email protected]/liferay/util/is_tablet.js&/o/js/resolved-module/[email protected]/liferay/util/normalize_friendly_url.js&/o/js/resolved-module/[email protected]/liferay/util/run_scripts_in_element.es.js&/o/js/resolved-module/[email protected]/index.es.js:45
       at o (?browserId=chrome&minifierType=&languageId=ca_ES&b=7411&t=1622646144029&/o/js/resolved-module/[email protected]/liferay/util/fetch.es.js&/o/js/resolved-module/[email protected]/liferay/modal/components/SimpleInputModal.es.js&/o/js/resolved-module/[email protected]/liferay/modal/commands/OpenSimpleInputModal.es.js&/o/js/resolved-module/[email protected]/liferay/util/get_portlet_namespace.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_portlet_url.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_action_url.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_render_url.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_resource_url.es.js&/o/js/resolved-module/[email protected]/liferay/align.js&/o/js/resolved-module/[email protected]/liferay/util/session.es.js&/o/js/resolved-module/[email protected]/liferay/util/build_fragment.js&/o/js/resolved-module/[email protected]/liferay/toast/commands/OpenToast.es.js&/o/js/resolved-module/[email protected]/liferay/throttle.es.js&/o/js/resolved-module/[email protected]/liferay/util/add_params.js&/o/js/resolved-module/[email protected]/liferay/util/get_dom.js&/o/js/resolved-module/[email protected]/liferay/util/get_element.js&/o/js/resolved-module/[email protected]/liferay/util/in_browser_view.js&/o/js/resolved-module/[email protected]/liferay/util/focus_form_field.js&/o/js/resolved-module/[email protected]/liferay/util/get_portlet_id.js&/o/js/resolved-module/[email protected]/liferay/util/is_phone.js&/o/js/resolved-module/[email protected]/liferay/util/is_tablet.js&/o/js/resolved-module/[email protected]/liferay/util/normalize_friendly_url.js&/o/js/resolved-module/[email protected]/liferay/util/run_scripts_in_element.es.js&/o/js/resolved-module/[email protected]/index.es.js:45)
       at i (?browserId=chrome&minifierType=&languageId=ca_ES&b=7411&t=1622646144029&/o/js/resolved-module/[email protected]/liferay/util/fetch.es.js&/o/js/resolved-module/[email protected]/liferay/modal/components/SimpleInputModal.es.js&/o/js/resolved-module/[email protected]/liferay/modal/commands/OpenSimpleInputModal.es.js&/o/js/resolved-module/[email protected]/liferay/util/get_portlet_namespace.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_portlet_url.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_action_url.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_render_url.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_resource_url.es.js&/o/js/resolved-module/[email protected]/liferay/align.js&/o/js/resolved-module/[email protected]/liferay/util/session.es.js&/o/js/resolved-module/[email protected]/liferay/util/build_fragment.js&/o/js/resolved-module/[email protected]/liferay/toast/commands/OpenToast.es.js&/o/js/resolved-module/[email protected]/liferay/throttle.es.js&/o/js/resolved-module/[email protected]/liferay/util/add_params.js&/o/js/resolved-module/[email protected]/liferay/util/get_dom.js&/o/js/resolved-module/[email protected]/liferay/util/get_element.js&/o/js/resolved-module/[email protected]/liferay/util/in_browser_view.js&/o/js/resolved-module/[email protected]/liferay/util/focus_form_field.js&/o/js/resolved-module/[email protected]/liferay/util/get_portlet_id.js&/o/js/resolved-module/[email protected]/liferay/util/is_phone.js&/o/js/resolved-module/[email protected]/liferay/util/is_tablet.js&/o/js/resolved-module/[email protected]/liferay/util/normalize_friendly_url.js&/o/js/resolved-module/[email protected]/liferay/util/run_scripts_in_element.es.js&/o/js/resolved-module/[email protected]/index.es.js:45)
       at ?browserId=chrome&minifierType=&languageId=ca_ES&b=7411&t=1622646144029&/o/js/resolved-module/[email protected]/liferay/util/fetch.es.js&/o/js/resolved-module/[email protected]/liferay/modal/components/SimpleInputModal.es.js&/o/js/resolved-module/[email protected]/liferay/modal/commands/OpenSimpleInputModal.es.js&/o/js/resolved-module/[email protected]/liferay/util/get_portlet_namespace.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_portlet_url.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_action_url.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_render_url.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_resource_url.es.js&/o/js/resolved-module/[email protected]/liferay/align.js&/o/js/resolved-module/[email protected]/liferay/util/session.es.js&/o/js/resolved-module/[email protected]/liferay/util/build_fragment.js&/o/js/resolved-module/[email protected]/liferay/toast/commands/OpenToast.es.js&/o/js/resolved-module/[email protected]/liferay/throttle.es.js&/o/js/resolved-module/[email protected]/liferay/util/add_params.js&/o/js/resolved-module/[email protected]/liferay/util/get_dom.js&/o/js/resolved-module/[email protected]/liferay/util/get_element.js&/o/js/resolved-module/[email protected]/liferay/util/in_browser_view.js&/o/js/resolved-module/[email protected]/liferay/util/focus_form_field.js&/o/js/resolved-module/[email protected]/liferay/util/get_portlet_id.js&/o/js/resolved-module/[email protected]/liferay/util/is_phone.js&/o/js/resolved-module/[email protected]/liferay/util/is_tablet.js&/o/js/resolved-module/[email protected]/liferay/util/normalize_friendly_url.js&/o/js/resolved-module/[email protected]/liferay/util/run_scripts_in_element.es.js&/o/js/resolved-module/[email protected]/index.es.js:45
       at o (?browserId=chrome&minifierType=&languageId=ca_ES&b=7411&t=1622646144029&/o/js/resolved-module/[email protected]/liferay/util/fetch.es.js&/o/js/resolved-module/[email protected]/liferay/modal/components/SimpleInputModal.es.js&/o/js/resolved-module/[email protected]/liferay/modal/commands/OpenSimpleInputModal.es.js&/o/js/resolved-module/[email protected]/liferay/util/get_portlet_namespace.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_portlet_url.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_action_url.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_render_url.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_resource_url.es.js&/o/js/resolved-module/[email protected]/liferay/align.js&/o/js/resolved-module/[email protected]/liferay/util/session.es.js&/o/js/resolved-module/[email protected]/liferay/util/build_fragment.js&/o/js/resolved-module/[email protected]/liferay/toast/commands/OpenToast.es.js&/o/js/resolved-module/[email protected]/liferay/throttle.es.js&/o/js/resolved-module/[email protected]/liferay/util/add_params.js&/o/js/resolved-module/[email protected]/liferay/util/get_dom.js&/o/js/resolved-module/[email protected]/liferay/util/get_element.js&/o/js/resolved-module/[email protected]/liferay/util/in_browser_view.js&/o/js/resolved-module/[email protected]/liferay/util/focus_form_field.js&/o/js/resolved-module/[email protected]/liferay/util/get_portlet_id.js&/o/js/resolved-module/[email protected]/liferay/util/is_phone.js&/o/js/resolved-module/[email protected]/liferay/util/is_tablet.js&/o/js/resolved-module/[email protected]/liferay/util/normalize_friendly_url.js&/o/js/resolved-module/[email protected]/liferay/util/run_scripts_in_element.es.js&/o/js/resolved-module/[email protected]/index.es.js:45)
       at i (?browserId=chrome&minifierType=&languageId=ca_ES&b=7411&t=1622646144029&/o/js/resolved-module/[email protected]/liferay/util/fetch.es.js&/o/js/resolved-module/[email protected]/liferay/modal/components/SimpleInputModal.es.js&/o/js/resolved-module/[email protected]/liferay/modal/commands/OpenSimpleInputModal.es.js&/o/js/resolved-module/[email protected]/liferay/util/get_portlet_namespace.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_portlet_url.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_action_url.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_render_url.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_resource_url.es.js&/o/js/resolved-module/[email protected]/liferay/align.js&/o/js/resolved-module/[email protected]/liferay/util/session.es.js&/o/js/resolved-module/[email protected]/liferay/util/build_fragment.js&/o/js/resolved-module/[email protected]/liferay/toast/commands/OpenToast.es.js&/o/js/resolved-module/[email protected]/liferay/throttle.es.js&/o/js/resolved-module/[email protected]/liferay/util/add_params.js&/o/js/resolved-module/[email protected]/liferay/util/get_dom.js&/o/js/resolved-module/[email protected]/liferay/util/get_element.js&/o/js/resolved-module/[email protected]/liferay/util/in_browser_view.js&/o/js/resolved-module/[email protected]/liferay/util/focus_form_field.js&/o/js/resolved-module/[email protected]/liferay/util/get_portlet_id.js&/o/js/resolved-module/[email protected]/liferay/util/is_phone.js&/o/js/resolved-module/[email protected]/liferay/util/is_tablet.js&/o/js/resolved-module/[email protected]/liferay/util/normalize_friendly_url.js&/o/js/resolved-module/[email protected]/liferay/util/run_scripts_in_element.es.js&/o/js/resolved-module/[email protected]/index.es.js:45)
       at ?browserId=chrome&minifierType=&languageId=ca_ES&b=7411&t=1622646144029&/o/js/resolved-module/[email protected]/liferay/util/fetch.es.js&/o/js/resolved-module/[email protected]/liferay/modal/components/SimpleInputModal.es.js&/o/js/resolved-module/[email protected]/liferay/modal/commands/OpenSimpleInputModal.es.js&/o/js/resolved-module/[email protected]/liferay/util/get_portlet_namespace.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_portlet_url.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_action_url.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_render_url.es.js&/o/js/resolved-module/[email protected]/liferay/util/portlet_url/create_resource_url.es.js&/o/js/resolved-module/[email protected]/liferay/align.js&/o/js/resolved-module/[email protected]/liferay/util/session.es.js&/o/js/resolved-module/[email protected]/liferay/util/build_fragment.js&/o/js/resolved-module/[email protected]/liferay/toast/commands/OpenToast.es.js&/o/js/resolved-module/[email protected]/liferay/throttle.es.js&/o/js/resolved-module/[email protected]/liferay/util/add_params.js&/o/js/resolved-module/[email protected]/liferay/util/get_dom.js&/o/js/resolved-module/[email protected]/liferay/util/get_element.js&/o/js/resolved-module/[email protected]/liferay/util/in_browser_view.js&/o/js/resolved-module/[email protected]/liferay/util/focus_form_field.js&/o/js/resolved-module/[email protected]/liferay/util/get_portlet_id.js&/o/js/resolved-module/[email protected]/liferay/util/is_phone.js&/o/js/resolved-module/[email protected]/liferay/util/is_tablet.js&/o/js/resolved-module/[email protected]/liferay/util/normalize_friendly_url.js&/o/js/resolved-module/[email protected]/liferay/util/run_scripts_in_element.es.js&/o/js/resolved-module/[email protected]/index.es.js:45

        Attachments

          Activity

            People

            Assignee:
            beck.liu Beck Liu
            Reporter:
            cristina.rodriguez Cristina Rodriguez
            Participants of an Issue:
            Recent user:
            Rafaela Nascimento
            Engineering Assignee:
            Cristina Rodriguez
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              14 weeks, 1 day ago

                Packages

                Version Package
                7.3.X
                7.4.1 CE GA2 DXP 7,4
                7.4.2 CE GA3 DXP 7,4
                Master