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

Blog images do not get published to live

    Details

      Description

      Steps to reproduce:

      1. Enable staging for blogs
      2. Add a blog entry with cover image and entry content
      3. Add another blog entry with external link in content
      4. Add another blog entry with inline image
      5. Publish to live
      6. Sign out
      7. As a guest or a site member, view blog entry with cover image

      Expected result: Blog entry displays successfully, cover image is displayed, as well as the entry content
      Actual result: Cover image and content do not display

      1. View blog entry with external link

      Expected result: Blog entry displays successfully, external link displays
      Actual result: Blogs is temporarily unavailable

      1. View blog entry with inline image

      Expected result: Blog entry displays successfully, content is displayed with inline image
      Actual result: Blogs entry displays as well as content, but inline image is displayed as broken image icon

      2018-05-21 19:43:50.498 ERROR [http-nio-8080-exec-6][IncludeTag:128] Current URL /web/guest/home generates exception: com.liferay.portal.kernel.security.auth.PrincipalException$MustHavePermission: User 20103 must have VIEW permission for com.liferay.portal.kernel.repository.model.Folder 36867
      com.liferay.portal.kernel.security.auth.PrincipalException$MustHavePermission: User 20103 must have VIEW permission for com.liferay.portal.kernel.repository.model.Folder 36867
              at com.liferay.portal.kernel.internal.security.permission.resource.DefaultModelResourcePermission.check(DefaultModelResourcePermission.java:54)
              at com.liferay.portal.kernel.security.permission.resource.ModelResourcePermissionHelper.check(ModelResourcePermissionHelper.java:39)
              at com.liferay.portal.repository.RepositoryProviderImpl.checkRepositoryAccess(RepositoryProviderImpl.java:377)
              at com.liferay.portal.repository.RepositoryProviderImpl.getLocalRepository(RepositoryProviderImpl.java:267)
              at com.liferay.portal.repository.RepositoryProviderImpl.getFileEntryLocalRepository(RepositoryProviderImpl.java:68)
              at com.liferay.portal.kernel.repository.RepositoryProviderUtil.getFileEntryLocalRepository(RepositoryProviderUtil.java:30)
              at com.liferay.portal.portletfilerepository.PortletFileRepositoryImpl.getPortletFileEntry(PortletFileRepositoryImpl.java:540)
              at com.liferay.portal.kernel.portletfilerepository.PortletFileRepositoryUtil.getPortletFileEntry(PortletFileRepositoryUtil.java:259)
              at com.liferay.blogs.model.impl.BlogsEntryImpl.getCoverImageURL(BlogsEntryImpl.java:47)
              at org.apache.jsp.blogs.view_005fentry_005fcontent_jsp._jspService(view_005fentry_005fcontent_jsp:733)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
              at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:345)
              at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:356)
              at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:148)
              at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:62)
      [2018-05-21T19:44:10,488][INFO ][o.e.m.j.JvmGcMonitorService] [Xd4b7Bt] [gc][651] overhead, spent [1.8s] collecting in the last [2.2s]
      [2018-05-21T19:44:36,156][INFO ][o.e.m.j.JvmGcMonitorService] [Xd4b7Bt] [gc][676] overhead, spent [1.3s] collecting in the last [1.6s]
      [2018-05-21T19:44:38,061][INFO ][o.e.m.j.JvmGcMonitorService] [Xd4b7Bt] [gc][677] overhead, spent [1.3s] collecting in the last [1.9s]
      [2018-05-21T19:44:39,905][INFO ][o.e.m.j.JvmGcMonitorService] [Xd4b7Bt] [gc][678] overhead, spent [1.5s] collecting in the last [1.8s]
      [2018-05-21T19:44:41,707][INFO ][o.e.m.j.JvmGcMonitorService] [Xd4b7Bt] [gc][679] overhead, spent [1.4s] collecting in the last [1.8s]
      [2018-05-21T19:44:45,102][INFO ][o.e.m.j.JvmGcMonitorService] [Xd4b7Bt] [gc][682] overhead, spent [787ms] collecting in the last [1.1s]
      21-May-2018 19:44:45.118 WARNING [http-nio-8080-exec-6] com.google.template.soy.shared.restricted.Sanitizers.filterNormalizeUri |filterNormalizeUri received bad value 'javascript:socialBookmarks_handleItemClick('com\x2eliferay\x2eblogs\x2emodel\x2eBlogsEntry', 36880, 'plusone', 'https\x3a\x2f\x2fplus\x2egoogle\x2ecom\x2fshare\x3furl\x3dhttp\x3a\x2f\x2flocalhost\x3a8080\x2fhome\x2f-\x2fblogs\x2fexternallinkhere', 'http\x3a\x2f\x2flocalhost\x3a8080\x2fhome\x2f-\x2fblogs\x2fexternallinkhere'); void(0);'
      21-May-2018 19:44:45.119 WARNING [http-nio-8080-exec-6] com.google.template.soy.shared.restricted.Sanitizers.filterNormalizeUri |filterNormalizeUri received bad value 'javascript:socialBookmarks_handleItemClick('com\x2eliferay\x2eblogs\x2emodel\x2eBlogsEntry', 36880, 'addthis', 'http\x3a\x2f\x2fwww\x2eaddthis\x2ecom\x2fbookmark\x2ephp\x3fv\x3d300\x26url\x3dhttp\x3a\x2f\x2flocalhost\x3a8080\x2fhome\x2f-\x2fblogs\x2fexternallinkhere\x26title\x3dexternallinkhere', 'http\x3a\x2f\x2flocalhost\x3a8080\x2fhome\x2f-\x2fblogs\x2fexternallinkhere'); void(0);'
      21-May-2018 19:44:45.119 WARNING [http-nio-8080-exec-6] com.google.template.soy.shared.restricted.Sanitizers.filterNormalizeUri |filterNormalizeUri received bad value 'javascript:socialBookmarks_handleItemClick('com\x2eliferay\x2eblogs\x2emodel\x2eBlogsEntry', 36880, 'delicious', 'https\x3a\x2f\x2fdel\x2eicio\x2eus\x2fpost\x3furl\x3dhttp\x3a\x2f\x2flocalhost\x3a8080\x2fhome\x2f-\x2fblogs\x2fexternallinkhere\x26title\x3dexternallinkhere', 'http\x3a\x2f\x2flocalhost\x3a8080\x2fhome\x2f-\x2fblogs\x2fexternallinkhere'); void(0);'
      21-May-2018 19:44:45.120 WARNING [http-nio-8080-exec-6] com.google.template.soy.shared.restricted.Sanitizers.filterNormalizeUri |filterNormalizeUri received bad value 'javascript:socialBookmarks_handleItemClick('com\x2eliferay\x2eblogs\x2emodel\x2eBlogsEntry', 36880, 'digg', 'http\x3a\x2f\x2fdigg\x2ecom\x2fsubmit\x3fphase\x3d3\x26url\x3dhttp\x3a\x2f\x2flocalhost\x3a8080\x2fhome\x2f-\x2fblogs\x2fexternallinkhere\x26title\x3dexternallinkhere', 'http\x3a\x2f\x2flocalhost\x3a8080\x2fhome\x2f-\x2fblogs\x2fexternallinkhere'); void(0);'
      21-May-2018 19:44:45.120 WARNING [http-nio-8080-exec-6] com.google.template.soy.shared.restricted.Sanitizers.filterNormalizeUri |filterNormalizeUri received bad value 'javascript:socialBookmarks_handleItemClick('com\x2eliferay\x2eblogs\x2emodel\x2eBlogsEntry', 36880, 'evernote', 'http\x3a\x2f\x2fwww\x2eevernote\x2ecom\x2fclip\x2eaction\x3furl\x3dhttp\x3a\x2f\x2flocalhost\x3a8080\x2fhome\x2f-\x2fblogs\x2fexternallinkhere\x26title\x3dexternallinkhere\x26body\x3dexternallinkhere', 'http\x3a\x2f\x2flocalhost\x3a8080\x2fhome\x2f-\x2fblogs\x2fexternallinkhere'); void(0);'
      21-May-2018 19:44:45.121 WARNING [http-nio-8080-exec-6] com.google.template.soy.shared.restricted.Sanitizers.filterNormalizeUri |filterNormalizeUri received bad value 'javascript:socialBookmarks_handleItemClick('com\x2eliferay\x2eblogs\x2emodel\x2eBlogsEntry', 36880, 'reddit', 'http\x3a\x2f\x2fwww\x2ereddit\x2ecom\x2fsubmit\x3furl\x3dhttp\x3a\x2f\x2flocalhost\x3a8080\x2fhome\x2f-\x2fblogs\x2fexternallinkhere\x26title\x3dexternallinkhere', 'http\x3a\x2f\x2flocalhost\x3a8080\x2fhome\x2f-\x2fblogs\x2fexternallinkhere'); void(0);'
      21-May-2018 19:44:45.121 WARNING [http-nio-8080-exec-6] com.google.template.soy.shared.restricted.Sanitizers.filterNormalizeUri |filterNormalizeUri received bad value 'javascript:socialBookmarks_handleItemClick('com\x2eliferay\x2eblogs\x2emodel\x2eBlogsEntry', 36880, 'slashdot', 'http\x3a\x2f\x2fslashdot\x2eorg\x2fsubmission\x3furl\x3dhttp\x3a\x2f\x2flocalhost\x3a8080\x2fhome\x2f-\x2fblogs\x2fexternallinkhere\x26title\x3dexternallinkhere\x26new\x3d1', 'http\x3a\x2f\x2flocalhost\x3a8080\x2fhome\x2f-\x2fblogs\x2fexternallinkhere'); void(0);'
      21-May-2018 19:44:45.122 WARNING [http-nio-8080-exec-6] com.google.template.soy.shared.restricted.Sanitizers.filterNormalizeUri |filterNormalizeUri received bad value 'javascript:socialBookmarks_handleItemClick('com\x2eliferay\x2eblogs\x2emodel\x2eBlogsEntry', 36880, 'stumbleupon', 'http\x3a\x2f\x2fwww\x2estumbleupon\x2ecom\x2fsubmit\x3furl\x3dhttp\x3a\x2f\x2flocalhost\x3a8080\x2fhome\x2f-\x2fblogs\x2fexternallinkhere', 'http\x3a\x2f\x2flocalhost\x3a8080\x2fhome\x2f-\x2fblogs\x2fexternallinkhere'); void(0);'
      2018-05-21 19:44:45.137 ERROR [http-nio-8080-exec-6][PortletRequestDispatcherImpl:295] Unable to dispatch request: com.liferay.portal.kernel.security.auth.PrincipalException$MustHavePermission: User 20103 must have VIEW permission for com.liferay.portal.kernel.repository.model.Folder 36867
      2018-05-21 19:44:45.138 ERROR [http-nio-8080-exec-6][PortletServlet:112] javax.portlet.PortletException: javax.servlet.ServletException: com.liferay.portal.kernel.security.auth.PrincipalException$MustHavePermission: User 20103 must have VIEW permission for com.liferay.portal.kernel.repository.model.Folder 36867
      javax.portlet.PortletException: javax.servlet.ServletException: com.liferay.portal.kernel.security.auth.PrincipalException$MustHavePermission: User 20103 must have VIEW permission for com.liferay.portal.kernel.repository.model.Folder 36867
              at com.liferay.portlet.PortletRequestDispatcherImpl.dispatch(PortletRequestDispatcherImpl.java:297)
              at com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:124)
              at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.include(MVCPortlet.java:594)
              at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.include(MVCPortlet.java:610)
              at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.doDispatch(MVCPortlet.java:494)
              at javax.portlet.GenericPortlet.render(GenericPortlet.java:278)
              at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.render(MVCPortlet.java:317)
              at com.liferay.blogs.web.internal.portlet.BlogsPortlet.render(BlogsPortlet.java:79)
              at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:103)
              at com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:57)
              at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
              at com.liferay.adaptive.media.blogs.web.internal.portlet.filter.BlogsPortletFilter.doFilter(BlogsPortletFilter.java:59)
              at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
              at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:58)
              at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:108)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
              at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:148)
              at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:62)
              at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:131)
              at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:48)
              at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:531)
              at com.liferay.portlet.InvokerPortletImpl.invokeRender(InvokerPortletImpl.java:606)
              at com.liferay.portlet.InvokerPortletImpl.render(InvokerPortletImpl.java:394)
              at com.liferay.portal.monitoring.internal.portlet.MonitoringInvokerPortlet.render(MonitoringInvokerPortlet.java:265)
              at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:1587)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
              at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:64)
              at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
              at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
              at com.liferay.portal.servlet.TransferHeadersHelperImpl$TransferHeadersRequestDispatcher.include(TransferHeadersHelperImpl.java:162)
              at com.liferay.portlet.PortletContainerImpl._render(PortletContainerImpl.java:780)
              at com.liferay.portlet.PortletContainerImpl.lambda$render$2(PortletContainerImpl.java:195)
              at com.liferay.portlet.PortletContainerImpl._preserveGroupIds(PortletContainerImpl.java:350)
              at com.liferay.portlet.PortletContainerImpl.render(PortletContainerImpl.java:184)
              at com.liferay.portlet.SecurityPortletContainerWrapper.render(SecurityPortletContainerWrapper.java:141)
              at com.liferay.portlet.RestrictPortletContainerWrapper.render(RestrictPortletContainerWrapper.java:141)
              at com.liferay.portal.kernel.portlet.PortletContainerUtil.render(PortletContainerUtil.java:172)
              at com.liferay.portal.layoutconfiguration.util.PortletRenderer._render(PortletRenderer.java:129)
              at com.liferay.portal.layoutconfiguration.util.PortletRenderer.render(PortletRenderer.java:76)
              at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.doProcessTemplate(RuntimePageImpl.java:490)
              at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.doDispatch(RuntimePageImpl.java:331)
              at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.processTemplate(RuntimePageImpl.java:146)
              at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.processTemplate(RuntimePageImpl.java:167)
              at com.liferay.portal.kernel.layoutconfiguration.util.RuntimePageUtil.processTemplate(RuntimePageUtil.java:88)
              at org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(portlet_jsp.java:779)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
              at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:64)
              at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
              at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
              at com.liferay.portal.servlet.TransferHeadersHelperImpl$TransferHeadersRequestDispatcher.include(TransferHeadersHelperImpl.java:162)
              at com.liferay.portal.model.impl.LayoutTypeControllerImpl.includeLayoutContent(LayoutTypeControllerImpl.java:171)
              at com.liferay.portal.model.impl.LayoutImpl.includeLayoutContent(LayoutImpl.java:908)
              at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:323)
              at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:159)
              at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
              at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
              at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:170)
              at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
              at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
              at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:605)
              at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:582)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)
              at com.liferay.portal.servlet.filters.secure.BaseAuthFilter.processFilter(BaseAuthFilter.java:340)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)
              at com.liferay.portal.monitoring.internal.servlet.filter.MonitoringFilter.processFilter(MonitoringFilter.java:181)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:100)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712)
              at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:459)
              at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:384)
              at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
              at com.liferay.friendly.url.internal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:355)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
              at com.liferay.portal.servlet.ServletAdapter.service(ServletAdapter.java:98)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)
              at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:343)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)
              at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:364)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)
              at com.liferay.portal.servlet.filters.secure.BaseAuthFilter.processFilter(BaseAuthFilter.java:340)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)
              at com.liferay.portal.servlet.filters.cache.CacheFilter.processFilter(CacheFilter.java:423)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)
              at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:261)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)
              at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:88)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)
              at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:263)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:144)
              at com.liferay.portal.monitoring.internal.servlet.filter.MonitoringFilter.processFilter(MonitoringFilter.java:181)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
              at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
              at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
              at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
              at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)
              at com.liferay.portal.servlet.filters.urlrewrite.UrlRewriteFilter.processFilter(UrlRewriteFilter.java:65)
              at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:49)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
              at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:100)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
              at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:651)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
              at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:407)
              at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
              at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:754)
              at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1376)
              at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
              at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
              at java.lang.Thread.run(Thread.java:748)
      Caused by: javax.servlet.ServletException: com.liferay.portal.kernel.security.auth.PrincipalException$MustHavePermission: User 20103 must have VIEW permission for com.liferay.portal.kernel.repository.model.Folder 36867
              at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:953)
              at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:885)
              at com.liferay.taglib.servlet.PageContextWrapper.handlePageException(PageContextWrapper.java:173)
              at org.apache.jsp.blogs.view_005fentry_jsp._jspService(view_005fentry_jsp:1627)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
              at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:345)
              at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:356)
              at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:148)
              at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:62)
              at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:131)
              at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:48)
              at com.liferay.portlet.PortletRequestDispatcherImpl.dispatch(PortletRequestDispatcherImpl.java:282)
              ... 175 more
      Caused by: com.liferay.portal.kernel.security.auth.PrincipalException$MustHavePermission: User 20103 must have VIEW permission for com.liferay.portal.kernel.repository.model.Folder 36867
              at com.liferay.portal.kernel.internal.security.permission.resource.DefaultModelResourcePermission.check(DefaultModelResourcePermission.java:54)
              at com.liferay.portal.kernel.security.permission.resource.ModelResourcePermissionHelper.check(ModelResourcePermissionHelper.java:39)
              at com.liferay.portal.repository.RepositoryProviderImpl.checkRepositoryAccess(RepositoryProviderImpl.java:377)
              at com.liferay.portal.repository.RepositoryProviderImpl.getLocalRepository(RepositoryProviderImpl.java:267)
              at com.liferay.portal.repository.RepositoryProviderImpl.getFileEntryLocalRepository(RepositoryProviderImpl.java:68)
              at com.liferay.portal.kernel.repository.RepositoryProviderUtil.getFileEntryLocalRepository(RepositoryProviderUtil.java:30)
              at com.liferay.portal.portletfilerepository.PortletFileRepositoryImpl.getPortletFileEntry(PortletFileRepositoryImpl.java:540)
              at com.liferay.portal.kernel.portletfilerepository.PortletFileRepositoryUtil.getPortletFileEntry(PortletFileRepositoryUtil.java:259)
              at com.liferay.blogs.model.impl.BlogsEntryImpl.getCoverImageURL(BlogsEntryImpl.java:47)
              at org.apache.jsp.blogs.view_005fentry_jsp._jspService(view_005fentry_jsp:607)
              ... 188 more
      2018-05-21 19:44:45.147 ERROR [http-nio-8080-exec-6][render_portlet_jsp:131] null
      com.liferay.portal.kernel.security.auth.PrincipalException$MustHavePermission: User 20103 must have VIEW permission for com.liferay.portal.kernel.repository.model.Folder 36867
              at com.liferay.portal.kernel.internal.security.permission.resource.DefaultModelResourcePermission.check(DefaultModelResourcePermission.java:54)
              at com.liferay.portal.kernel.security.permission.resource.ModelResourcePermissionHelper.check(ModelResourcePermissionHelper.java:39)
              at com.liferay.portal.repository.RepositoryProviderImpl.checkRepositoryAccess(RepositoryProviderImpl.java:377)
              at com.liferay.portal.repository.RepositoryProviderImpl.getLocalRepository(RepositoryProviderImpl.java:267)
              at com.liferay.portal.repository.RepositoryProviderImpl.getFileEntryLocalRepository(RepositoryProviderImpl.java:68)
              at com.liferay.portal.kernel.repository.RepositoryProviderUtil.getFileEntryLocalRepository(RepositoryProviderUtil.java:30)
              at com.liferay.portal.portletfilerepository.PortletFileRepositoryImpl.getPortletFileEntry(PortletFileRepositoryImpl.java:540)
              at com.liferay.portal.kernel.portletfilerepository.PortletFileRepositoryUtil.getPortletFileEntry(PortletFileRepositoryUtil.java:259)
              at com.liferay.blogs.model.impl.BlogsEntryImpl.getCoverImageURL(BlogsEntryImpl.java:47)
              at org.apache.jsp.blogs.view_005fentry_jsp._jspService(view_005fentry_jsp:607)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
              at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:345)
              at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:356)
              at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:148)
              at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:62)
      [2018-05-21T19:44:47,277][INFO ][o.e.m.j.JvmGcMonitorService] [Xd4b7Bt] [gc][683] overhead, spent [1.6s] collecting in the last [2.1s]
      

      Reproduced on:
      Tomcat 9.0.6 + MySQL 5.7
      Portal master GIT ID: 696154ccdaf9c7986868a44a7f99034c6d275c33

      External link and cover image errors reproducible, inline image error not reproducible on:
      7.0.x GIT ID: fade27b5db03bd744cd51b03dc1f31bd85639fe5

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 20 weeks, 5 days ago

                Packages

                Version Package
                7.1.0 Beta 2
                7.1.X
                Master