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

Cannot see blog entry on live site after publishing deleted small image to live

    Details

      Description

      Steps to reproduce:

      1. Add a new site > add a widget page to the site
      2. Enable local staging with check blogs
      3. Go to staging site > Content & Data > Blogs > Add an entry with a small image
      4. Go to staged page > Publish to live
        • Assert the blog entry display on live
      5. Go to staging site > Content & Data > Blogs >Edit the entry to remove the small image
      6. Go to staged page > Publish to live
      7. Go to live site > Content & Data > Blogs

      Expected Result:
      The blog entry without a small image should be displayed.

      Actual Result:
      The blog entry is not displayed with console error.

      2020-10-28 00:50:15.542 ERROR [http-nio-8080-exec-6][IncludeTag:128] Current URL /group/test-site-name/~/control_panel/manage?p_p_id=com_liferay_blogs_web_portlet_BlogsAdminPortlet&p_p_lifecycle=0&p_p_state=maximized&p_v_l_s_g_id=39728&p_p_auth=hcurR25f generates exception: com.liferay.document.library.kernel.exception.NoSuchFileEntryException: No FileEntry exists with the key {fileEntryId=39845}
      com.liferay.portal.kernel.repository.InvalidRepositoryIdException: No repository associated with file entry 39845
              at com.liferay.portal.repository.RepositoryProviderImpl.getFileEntryRepositoryId(RepositoryProviderImpl.java:466)
              at com.liferay.portal.repository.RepositoryProviderImpl.getFileEntryLocalRepository(RepositoryProviderImpl.java:93)
              at com.liferay.document.library.repository.portlet.file.repository.internal.PortletFileRepositoryImpl.getPortletFileEntry(PortletFileRepositoryImpl.java:537)
              at com.liferay.portal.kernel.portletfilerepository.PortletFileRepositoryUtil.getPortletFileEntry(PortletFileRepositoryUtil.java:250)
              at com.liferay.blogs.model.impl.BlogsEntryImpl.getSmallImageURL(BlogsEntryImpl.java:102)
              at com.liferay.portal.kernel.bean.AutoEscapeBeanHandler.invoke(AutoEscapeBeanHandler.java:66)
              at com.liferay.blogs.web.internal.servlet.taglib.clay.BlogsEntryVerticalCard.getImageSrc(BlogsEntryVerticalCard.java:118)
              at com.liferay.frontend.taglib.clay.servlet.taglib.soy.VerticalCardTag.doStartTag(VerticalCardTag.java:36)
              at org.apache.jsp.blogs_005fadmin.view_005fentries_jsp._jspService(view_005fentries_jsp:875)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
              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:733)
              at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:368)
              at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:380)
              at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
              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:120)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              beck.liu Beck Liu
              Reporter:
              beck.liu Beck Liu
              Participants of an Issue:
              Recent user:
              Sophia Zhang
              Engineering Assignee:
              Adolfo Pérez
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                51 weeks, 2 days ago

                  Packages

                  Version Package
                  7.3.10 DXP FP1
                  7.3.10.1 DXP SP1
                  7.3.6 CE GA7
                  7.3.X
                  7.4.13 DXP GA1
                  Master