Details

    • Fix Priority:
      4

      Description

      Reported in the Community Expedition

      Steps to Reproduce

      1. Create a new JSP module and add the following JSPs to the project:
      2. init.jsp:
        <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
        <%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
        <%@ taglib uri="http://liferay.com/tld/aui" prefix="aui" %>
        <%@ taglib uri="http://liferay.com/tld/portlet" prefix="liferay-portlet" %>
        <%@ taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme" %>
        <%@ taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui" %>
        
        <portlet:defineObjects />
        
        <liferay-theme:defineObjects />
        
        <%@ page import="java.util.List" %>
        
      3. view.jsp:
        <%@ include file="/init.jsp" %>
        
        <div id="<portlet:namespace/>usersTable"></div>
        
        <aui:script use="aui-datatable, datatable-paginator, liferay-portlet-url">
                console.log("in script");
        </aui:script>
        
      4. Deploy the module to Liferay 7 and add the application to page. The application will appear blank but viewing the Javascript console will show "in script"
      5. Sign out of Liferay and refresh the page the application is deployed on. Viewing the console again with reveal the error: Uncaught TypeError: Cannot set property 'hasImpl' of undefined

      Attaching a sample project to help recreate the issue.

        Attachments

          Activity

            People

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

              Dates

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

                Packages

                Version Package