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

Documents and Media - NoSuchResourceActionException when adding a basic document into a folder

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.1.0 CE RC1
    • Component/s: DM
    • Labels:
      None
    • Environment:
      Tomcat 7.0.23 + MySQL 5. 6.1.x Revision 96073.

      Description

      NoSuchResourceActionException in the console when adding a basic document to a folder in the Documents and Media portlet.

      1. Create a test page and add the Document and Media portlet
      2. Add a folder
      3. Add a basic document in the folder
      4. Go back to the root level by click the Up in the left tool bar
      5. Exceptions will appear in the console

      3:04:36,226 ERROR [AdvancedPermissionChecker:944] com.liferay.portal.NoSuchResourceActionException: com.liferay.portlet.documentlibrary#DELETE
      om.liferay.portal.NoSuchResourceActionException: com.liferay.portlet.documentlibrary#DELETE
             at com.liferay.portal.security.permission.ResourceActionsImpl.checkAction(ResourceActionsImpl.java:126)
             at com.liferay.portal.security.permission.ResourceActionsUtil.checkAction(ResourceActionsUtil.java:72)
             at com.liferay.portal.security.permission.AdvancedPermissionChecker.hasGuestPermission(AdvancedPermissionChecker.java:857)
             at com.liferay.portal.security.permission.AdvancedPermissionChecker.hasPermissionImpl(AdvancedPermissionChecker.java:933)
             at com.liferay.portal.security.permission.AdvancedPermissionChecker.hasPermission(AdvancedPermissionChecker.java:595)
             at com.liferay.portal.security.permission.BasePermissionChecker.hasPermission(BasePermissionChecker.java:85)
             at com.liferay.portlet.documentlibrary.service.permission.DLPermission.contains(DLPermission.java:48)
             at com.liferay.portlet.documentlibrary.service.permission.DLFolderPermission.contains(DLFolderPermission.java:148)
             at org.apache.jsp.html.portlet.document_005flibrary.folder_005faction_jsp._jspService(folder_005faction_jsp.java:1293)
             at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
             at com.liferay.portal.kernel.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:45)
             at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:323)
             at com.liferay.taglib.util.IncludeTag._doInclude(IncludeTag.java:418)
             at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:92)
             at org.apache.jsp.html.portlet.document_005flibrary.view_005ffolders_jsp._jspx_meth_liferay_002dutil_005finclude_005f0(view_005ffolders_jsp.java:2388)
             at org.apache.jsp.html.portlet.document_005flibrary.view_005ffolders_jsp._jspService(view_005ffolders_jsp.java:1022)
             at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
             at com.liferay.portal.kernel.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:45)
             at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:323)
             at com.liferay.taglib.util.IncludeTag._doInclude(IncludeTag.java:418)
             at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:92)
             at org.apache.jsp.html.portlet.document_005flibrary.view_005fresources_jsp._jspx_meth_liferay_002dutil_005finclude_005f7(view_005fresources_jsp.java:1151)
             at org.apache.jsp.html.portlet.document_005flibrary.view_005fresources_jsp._jspService(view_005fresources_jsp.java:846)
             at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
             at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
             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:722)
             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:72)
             at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:71)
             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:684)
             at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:593)
             at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:530)
             at com.liferay.portlet.PortletRequestDispatcherImpl.dispatch(PortletRequestDispatcherImpl.java:316)
             at com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:105)
             at com.liferay.portlet.documentlibrary.action.ViewAction.serveResource(ViewAction.java:52)
             at com.liferay.portal.struts.PortletAction.execute(PortletAction.java:115)
             at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
             at com.liferay.portal.struts.PortletRequestProcessor.processActionPerform(PortletRequestProcessor.java:365)
             at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
             at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:242)
             at com.liferay.portlet.StrutsPortlet.serveResource(StrutsPortlet.java:215)
             at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:118)
             at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:71)
             at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:653)
             at com.liferay.portlet.InvokerPortletImpl.invokeResource(InvokerPortletImpl.java:748)
             at com.liferay.portlet.InvokerPortletImpl.serveResource(InvokerPortletImpl.java:505)
             at com.liferay.portal.action.LayoutAction.processPortletRequest(LayoutAction.java:941)
             at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:664)
             at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:244)
             at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
             at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
             at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:174)
             at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
             at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
             at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:533)
             at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:510)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
             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:72)
             at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:113)
             at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:113)
             at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
             at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:199)
             at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
             at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
             at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
             at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:240)
             at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
             at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
             at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:71)
             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:684)
             at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471)
             at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402)
             at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329)
             at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:135)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
             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:72)
             at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:113)
             at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
             at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:123)
             at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
             at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
             at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
             at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:199)
             at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
             at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
             at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
             at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:241)
             at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
             at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
             at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:113)
             at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
             at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:55)
             at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
             at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
             at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
             at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:240)
             at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
             at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
             at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
             at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:83)
             at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
             at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
             at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
             at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:80)
             at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
             at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
             at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:121)
             at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:208)
             at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
             at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
             at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
             at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:184)
             at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92)
             at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
             at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:203)
             at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:105)
             at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:164)
             at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92)
             at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:164)
             at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:92)
             at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:71)
             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.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
             at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
             at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
             at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
             at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
             at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)
             at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
             at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
             at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
             at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539)
             at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:300)
             at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
             at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
             at java.lang.Thread.run(Thread.java:619)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                albert.lee Albert Lee
                Reporter:
                albert.lee Albert Lee
                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:
                  7 years, 18 weeks, 3 days ago