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

"TypeError: Liferay.Store is not a function" error on toggle taglib usage

    Details

      Description

      TypeError: Liferay.Store is not a function error on toggle taglib usage

      For example, this error is produced on Classic Search configuration dialog.

      Steps to reproduce

      1. Login in into portal with admin account.
      2. Add the Classic Search Portlet to some page.
      3. Open browser's dev tools/JS console.
      4. Go to the configuration dialog from the Classic Search Portlet.
      5. Click in one of the "Configure" links
      6. Check browser console

      Expected behavior

      • No error is written to browser console

      Actual behavior

      • Following error is written to browser console
      TypeError: Liferay.Store is not a function

      Root cause

      /portal-web/docroot/html/taglib/ui/toggle/page.jsp is using Liferay.Store but in LPS-100534 the reference to liferay-store AUI javascript was removed in this commit https://github.com/liferay/liferay-portal/commit/fcbf50cc114db7b216f52f4b3bdb52e428edc79a

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              summer.zhang Summer Zhang
              Reporter:
              jorge.diaz Jorge Diaz
              Participants of an Issue:
              Recent user:
              Tomáš Polešovský
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                37 weeks ago

                  Packages

                  Version Package
                  7.2.10 DXP FP6
                  7.2.X
                  7.3.10 DXP GA1
                  Master