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

A JavaScript error is thrown: "Cannot read propety 'config' of undefined" on configuration panel of Blogs portlet

    Details

      Description

      Reproduction steps:

      1. Build and use a Liferay ee-6.1.x with the patches from the patch info file provided by the customer.
      2. Add the following property to your portal-ext.properties file before starting the portal:
      -editor.ckeditor.version=latest
      3. Place a Blogs portlet on the welcome page.
      4. Use "Add Blog Entry", but do not publish the entry.
      5. Look at the ckeditor below the "Content". Not all ckeditor functionalities are available.
      6. Open the configuration of this portlet and click "Save".

      Result: The portlet is reloaded. Problem: There is a javascript error in ckconfig.jsp and all ckeditor functionalities are shown. Please see the screenshots attached to the LPP.

      Also tested:

      6.2x @ commit (402291b2b6b06ac3cf59e3f95a4780febd984389) fixed, the ckeditor functionalities are the same and there is not JavaScript error.
      master @ commit (16be5f414e5c5ed5efbfea9b0de48deff742e211) not reproducible, the blogs portlet is designed differently.

        Attachments

          Activity

            People

            • Assignee:
              felix.zhang Felix Zhang
              Reporter:
              zsolt.szabo Zsolt Szabo (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 42 weeks, 3 days ago

                Packages

                Version Package
                6.1.X EE