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

"TypeError: e is undefined" is thrown when closing Look and Feel without saving then refreshing page

    Details

    • Fix Priority:
      3

      Description

      Steps to reproduce:

      1. Navigate to the Search portlet's wrench icon > Look and Feel
      2. Let the iframe open, change something without saving it
        • Close the iframe
      3. Refresh the page

      Expected result:
      No JavaScript error will get thrown.

      Actual result:
      "TypeError: e is undefined" gets thrown, then successive refreshing throws TypeError: Liferay.ControlMenu is undefined See attached gif.

      Alternate steps to reproduce:

      1. Add an AP Portlet to a page
      2. Add a Bookmark through AP
      3. Click the bookmark link (other bug LPS)
      4. Click the back button

      TypeError: e is undefined gets thrown in the browser

      Alternate steps to reproduce 2:

      1. Add a Web Content article in a Site
      2. Add another article, and link the first article as a Related Asset
      3. Add Asset Publisher portlet to a page
      4. With both articles displaying in AP, click one of them to view it in "Full Content" mode
        • After the related assets link displays, ctrl + click it to open the related article in a new tab
        • Click back into the first tab (if TypeError: e is undefined doesn't display now, refresh the page)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              brian.wulbern Brian Wulbern
              Reporter:
              brian.wulbern Brian Wulbern
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 6 weeks ago

                  Packages

                  Version Package
                  7.0.0 Alpha 2