-
Type:
Regression Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.2.X, Master
-
Fix Version/s: 7.2.10 DXP FP6, 7.2.X, 7.3.10 DXP GA1, Master
-
Component/s: Tag Libraries > Liferay Frontend Taglibs
-
Labels:
-
Branch Version/s:7.2.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
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
- Login in into portal with admin account.
- Add the Classic Search Portlet to some page.
- Open browser's dev tools/JS console.
- Go to the configuration dialog from the Classic Search Portlet.
- Click in one of the "Configure" links
- 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
- is caused by
-
LPS-100534 Apply new Session utilities in portal-web
-
- Closed
-