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

SPA loading overtime when adding asset with inline image

    Description

    Steps to reproduce:

    1. Use incognito browser window(it is easier to reproduce this issue)
    2. Go to Blogs
    3. Add a blog entry with inline image in blogs content
    4. Click Publish

    Actual Result:
    SPA is loading a long time and the content shows in the source model.
    Browser error:

    Uncaught TypeError: instance._itemSelectorDialog.destroy is not a function
        at a.<anonymous> (plugin.js:529)
        at a.(:8080/group/guest/~/control_panel/anonymous function) (http://localhost:8080/o/frontend-editor-ckeditor-web/ckeditor/ckeditor.js?browserId=other&minifierType=js&languageId=en_US&b=7210&t=1573693748207:7:493)
        at a.k (ckeditor.js?browserId=other&minifierType=js&languageId=en_US&b=7210&t=1573693748207:7)
        at a.<anonymous> (ckeditor.js?browserId=other&minifierType=js&languageId=en_US&b=7210&t=1573693748207:8)
        at a.window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.editor.CKEDITOR.editor.fire (ckeditor.js?browserId=other&minifierType=js&languageId=en_US&b=7210&t=1573693748207:10)
        at a.destroy (ckeditor.js?browserId=other&minifierType=js&languageId=en_US&b=7210&t=1573693748207:266)
        at O.destructor (alloy-editor-no-ckeditor-min.js?browserId=other&minifierType=js&languageId=en_US&b=7210&t=1573693748207:633)
        at O._callChain (alloy-editor-no-ckeditor-min.js?browserId=other&minifierType=js&languageId=en_US&b=7210&t=1573693748207:841)
        at O.destroy (alloy-editor-no-ckeditor-min.js?browserId=other&minifierType=js&languageId=en_US&b=7210&t=1573693748207:841)
        at component.destructor (?browserId=other&minifierType=&languageId=en_US&b=7210&t=1573693748517&/o/frontend-js-web/liferay/cover_cropper.js&/o/frontend-editor-alloyeditor-web/js/alloyeditor.js&/o/blogs-web/blogs/js/blogs.js&/o/frontend-js-web/aui/autocomplete-sources/autocomplete-sources-min.js&/o/frontend-js-web/aui/autocomplete-list/lang/autocomplete-list_en.js&/o/frontend-js-web/aui/shim-plugin/shim-plugin-min.js&/o/frontend-js-web/aui/autocomplete-list/autocomplete-list-min.js&/o/frontend-js-web/aui/autocomplete-list-keys/autocomplete-list-keys-min.js&/o/frontend-js-web/aui/autocomplete-plugin/autocomplete-plugin-min.js&/o/frontend-js-web/aui/datatype-date-format/lang/datatype-date-format_en-US.js&/o/frontend-js-web/aui/datatype-date-format/datatype-date-format-min.js&/o/frontend-js-web/aui/datatype-date-parse/datatype-date-parse-min.js&/o/frontend-js-web/aui/aui-datatype-date-parse/aui-datatype-date-parse-min.js&/o/frontend-js-web/aui/aui-datepicker-delegate/aui-datepicker-delegate-min.js:19)
    45?browserId=other&minifierType=&languageId=en_US&b=7210&t=1573693748517&/o/frontend-js-web/liferay/cover_cropper.js&/o/frontend-editor-alloyeditor-web/js/alloyeditor.js&/o/blogs-web/blogs/js/blogs.js&/o/frontend-js-web/aui/autocomplete-sources/autocomplete-sources-min.js&/o/frontend-js-web/aui/autocomplete-list/lang/autocomplete-list_en.js&/o/frontend-js-web/aui/shim-plugin/shim-plugin-min.js&/o/frontend-js-web/aui/autocomplete-list/autocomplete-list-min.js&/o/frontend-js-web/aui/autocomplete-list-keys/autocomplete-list-keys-min.js&/o/frontend-js-web/aui/autocomplete-plugin/autocomplete-plugin-min.js&/o/frontend-js-web/aui/datatype-date-format/lang/datatype-date-format_en-US.js&/o/frontend-js-web/aui/datatype-date-format/datatype-date-format-min.js&/o/frontend-js-web/aui/datatype-date-parse/datatype-date-parse-min.js&/o/frontend-js-web/aui/aui-datatype-date-parse/aui-datatype-date-parse-min.js&/o/frontend-js-web/aui/aui-datepicker-delegate/aui-datepicker-delegate-min.js:33 Uncaught TypeError: Cannot read property 'getHTML' of null
        at component._saveEntry (?browserId=other&minifierType=&languageId=en_US&b=7210&t=1573693748517&/o/frontend-js-web/liferay/cover_cropper.js&/o/frontend-editor-alloyeditor-web/js/alloyeditor.js&/o/blogs-web/blogs/js/blogs.js&/o/frontend-js-web/aui/autocomplete-sources/autocomplete-sources-min.js&/o/frontend-js-web/aui/autocomplete-list/lang/autocomplete-list_en.js&/o/frontend-js-web/aui/shim-plugin/shim-plugin-min.js&/o/frontend-js-web/aui/autocomplete-list/autocomplete-list-min.js&/o/frontend-js-web/aui/autocomplete-list-keys/autocomplete-list-keys-min.js&/o/frontend-js-web/aui/autocomplete-plugin/autocomplete-plugin-min.js&/o/frontend-js-web/aui/datatype-date-format/lang/datatype-date-format_en-US.js&/o/frontend-js-web/aui/datatype-date-format/datatype-date-format-min.js&/o/frontend-js-web/aui/datatype-date-parse/datatype-date-parse-min.js&/o/frontend-js-web/aui/aui-datatype-date-parse/aui-datatype-date-parse-min.js&/o/frontend-js-web/aui/aui-datepicker-delegate/aui-datepicker-delegate-min.js:33)
        at component.<anonymous> (?browserId=other&minifierType=&languageId=en_US&b=7210&t=1573693748517&/o/frontend-js-web/liferay/cover_cropper.js&/o/frontend-editor-alloyeditor-web/js/alloyeditor.js&/o/blogs-web/blogs/js/blogs.js&/o/frontend-js-web/aui/autocomplete-sources/autocomplete-sources-min.js&/o/frontend-js-web/aui/autocomplete-list/lang/autocomplete-list_en.js&/o/frontend-js-web/aui/shim-plugin/shim-plugin-min.js&/o/frontend-js-web/aui/autocomplete-list/autocomplete-list-min.js&/o/frontend-js-web/aui/autocomplete-list-keys/autocomplete-list-keys-min.js&/o/frontend-js-web/aui/autocomplete-plugin/autocomplete-plugin-min.js&/o/frontend-js-web/aui/datatype-date-format/lang/datatype-date-format_en-US.js&/o/frontend-js-web/aui/datatype-date-format/datatype-date-format-min.js&/o/frontend-js-web/aui/datatype-date-parse/datatype-date-parse-min.js&/o/frontend-js-web/aui/aui-datatype-date-parse/aui-datatype-date-parse-min.js&/o/frontend-js-web/aui/aui-datepicker-delegate/aui-datepicker-delegate-min.js:31)
        at wrapper (combo:148)
    

    Note: Wiki also has this issue.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

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

                Packages

                Version Package