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

AlloyEditor is not editable in specific environment

    Details

    • Type: Bug
    • Status: Verified
    • Resolution: Unresolved
    • Affects Version/s: 7.1.X
    • Fix Version/s: None
    • Component/s: Alloy Editor
    • Fix Priority:
      3

      Description

      Environment:

      Error:

      java.lang.Exception: Element is not editable at "//input[contains(@id,'subject')] | //input[contains(@id,'Subject')]"

      Jenkins console log:

       JAVA_SCRIPT_ERROR: SyntaxError: in strict mode code, functions may be declared only at top level or immediately within another function [http://localhost:8080/o/frontend-editor-alloyeditor-web/alloyeditor/alloy-editor-no-ckeditor-min.js?browserId=firefox&minifierType=js&languageId=en_US&b=7110&t=1630058117495:2]
           [exec]     JAVA_SCRIPT_ERROR: ReferenceError: AlloyEditor is not defined [http://localhost:8080/o/frontend-editor-alloyeditor-web/js/create-react-class/create-react-class.min.js?browserId=firefox&minifierType=js&languageId=en_US&b=7110&t=1630058117495:2]
           [exec]     JAVA_SCRIPT_ERROR: ReferenceError: AlloyEditor is not defined [http://localhost:8080/group/guest/~/control_panel/manage?p_p_id=com_liferay_message_boards_web_portlet_MBAdminPortlet&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&_com_liferay_message_boards_web_portlet_MBAdminPortlet_mvcRenderCommandName=%2Fmessage_boards%2Fedit_message&_com_liferay_message_boards_web_portlet_MBAdminPortlet_redirect=http%3A%2F%2Flocalhost%3A8080%2Fgroup%2Fguest%2F~%2Fcontrol_panel%2Fmanage%3Fp_p_id%3Dcom_liferay_message_boards_web_portlet_MBAdminPortlet%26p_p_lifecycle%3D0%26p_p_state%3Dmaximized%26p_p_mode%3Dview&_com_liferay_message_boards_web_portlet_MBAdminPortlet_mbCategoryId=0:1]
           [exec]     JAVA_SCRIPT_ERROR: ReferenceError: AlloyEditor is not defined [http://localhost:8080/combo/?browserId=firefox&minifierType=&languageId=en_US&b=7110&t=1630058118554&/o/frontend-editor-alloyeditor-web/js/alloyeditor.js&/o/frontend-js-web/aui/aui-live-search-deprecated/aui-live-search-deprecated-min.js&/o/frontend-js-web/aui/aui-template-deprecated/aui-template-deprecated-min.js&/o/frontend-js-web/aui/color-base/color-base-min.js&/o/frontend-js-web/aui/anim-base/anim-base-min.js&/o/frontend-js-web/aui/anim-node-plugin/anim-node-plugin-min.js&/o/frontend-js-web/aui/datasource-local/datasource-local-min.js&/o/frontend-js-web/aui/datasource-io/datasource-io-min.js&/o/frontend-js-web/aui/datasource-get/datasource-get-min.js&/o/frontend-js-web/aui/datasource-function/datasource-function-min.js&/o/frontend-js-web/aui/cache-base/cache-base-min.js&/o/frontend-js-web/aui/datasource-cache/datasource-cache-min.js&/o/frontend-js-web/aui/dataschema-base/dataschema-base-min.js&/o/frontend-js-web/aui/dataschema-json/dataschema-json-min.js:2]
      

      Affects Case:
      LocalFile.CPMessageboards#AddMBThread

      This case failed on both 7.1 Fix Pack job and Environment Acceptance(7.1.x).

      Note: This case is failed by browser javascirpt error. But I cannot reporduce it on local using firefox 52.02 esr.

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            felix.zhang Felix Zhang
            Participants of an Issue:
            Recent user:
            Tina Tian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              7 weeks, 4 days ago

                Packages

                Version Package