Details

      Description

      Steps to reproduce:

      1. Sign in as test@liferay.com.
      2. Add an Asset Publisher portlet to the page.
      3. Assert the portlet.
      4. Go to control panel, add a web content.
      5. Back to assert the Asset Publisher portlet.

      Expected result:
      In Step 3, it displays properly and include Add New button.
      In Step 5, the Add New button should be shown as well and it also displays the web content just added.

      Actual result:
      The portlet only shows a top bar without anything all the time. And errors shown in console.

      08:17:07,785 ERROR [http-bio-8080-exec-10][IncludeTag:109] Current URL /web/guest/home;jsessionid=2F6C351503F73FCC4B901757A922ECDC?p_p_id=58&p_p_lifecycle=0&p_p_state=normal&p_p_mode=view&p_p_col_id=column-1&p_p_col_count=1 generates exception: Unable to compile class for JSP: ____An error occurred at line: 18 in the jsp file: /html/portlet/asset_publisher/view_manual.jspf__The method getAssetEntries(PortletRequest, PortletPreferences, PermissionChecker, long[], String[], boolean, boolean, long[], String[]) in the type AssetPublisherUtil is not applicable for the arguments (RenderRequest, PortletPreferences, PermissionChecker, long[], long[], String[], String[], boolean, boolean)__15: --%>__16: __17: <%__18: List<AssetEntry> assetEntries = AssetPublisherUtil.getAssetEntries(renderRequest, portletPreferences, permissionChecker, groupIds, allAssetCategoryIds, assetEntryXmls, allAssetTagNames, false, enablePermissions);__19: __20: searchContainer.setTotal(assetEntries.size());__21: ______Stacktrace: [Sanitized]
      org.apache.jasper.JasperException: Unable to compile class for JSP: ____An error occurred at line: 18 in the jsp file: /html/portlet/asset_publisher/view_manual.jspf__The method getAssetEntries(PortletRequest, PortletPreferences, PermissionChecker, long[], String[], boolean, boolean, long[], String[]) in the type AssetPublisherUtil is not applicable for the arguments (RenderRequest, PortletPreferences, PermissionChecker, long[], long[], String[], String[], boolean, boolean)__15: --%>__16: __17: <%__18: List<AssetEntry> assetEntries = AssetPublisherUtil.getAssetEntries(renderRequest, portletPreferences, permissionChecker, groupIds, allAssetCategoryIds, assetEntryXmls, allAssetTagNames, false, enablePermissions);__19: __20: searchContainer.setTotal(assetEntries.size());__21: ______Stacktrace: [Sanitized]
      	at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103)
      	at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:366)
      	at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:468)
      	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:378)
      	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:353)
      	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)
      	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:646)
      	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
      	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
      	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:73)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:117)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:87)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
      	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shitian.zhang Shitian "Shelton" Zhang (Inactive)
                Reporter:
                shitian.zhang Shitian "Shelton" Zhang (Inactive)
                Participants of an Issue:
                Recent user:
                Marta Elicegui
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 51 weeks, 4 days ago

                  Packages

                  Version Package
                  6.2.0 CE B2