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

Configuration panel of Highest Rated Assets portlet throws a javascript error when you try to select any Asset type

    Details

      Description

      Reproduction steps:

      1) Build and start ee-6.2.x (2e8527803639878097603299ccc553fc3b8dd853)
      2) Login as Admin, Go to Admin > Site Administration > Content and create a dummy structure and a template for it, then publish a content using it
      3) Add a Highest Rated Assets portlet onto the Welcome page.
      4) Bring up any kind of browser dev tool for the same page
      5) Go to Configuration and Select "Asset Type" > Web Content Article

      Expected: The console to be free of errors
      Actual behavior: The console throws

      (Chrome) :

      "Uncaught TypeError: Cannot read property 'one' of null"

      (Firefox):

      "TypeError: v is null"

      6) Within "Web Content Article Subtype" choose the structure created at step 2) and save
      7) Reopen the Configuration of the portlet

      Expected: The interface to be responsive and the browser dev console to be errors-free
      Actual behavior: The buttons, checkboxes and drop down lists are frozen

      Master:
      Fixed @ 71b603722fb9f9258becc29132873ca28282d569

        Attachments

        1. fixed.png
          fixed.png
          32 kB
        2. reproduced1.png
          reproduced1.png
          38 kB

          Issue Links

            Activity

              People

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

                Dates

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

                  Packages

                  Version Package
                  6.2.X EE