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

NoSuchFolderException occurs when check the asset content without folder in recycle bin

Details

    Description

      Step to reproduce:

      1. Add a web content folder
      2. Add a web content based on Basic Web Content in folder
      3. Move the web content to Recycle Bin firstly
      4. Move the folder to Recycle Bin
      5. Navigate to Recycle Bin
      6. Delete the folder entry
      7. Click the web content entry

      Expected Results:
      The content of web content should be shown in page.

      Actual Results:
      The Recycle Bin is temporarily unavailable.
      The following error is thrown in browser console

      2021-04-01 02:31:06.709 ERROR [http-nio-8080-exec-5][PortletRequestDispatcherImpl:304] Unable to dispatch request: com.liferay.journal.exception.NoSuchFolderException: No JournalFolder exists with the primary key 39283
      2021-04-01 02:31:25.106 ERROR [http-nio-8080-exec-5][PortletServlet:119] javax.portlet.PortletException: javax.servlet.ServletException: com.liferay.journal.exception.NoSuchFolderException: No JournalFolder exists with the primary key 39283
      javax.portlet.PortletException: javax.servlet.ServletException: com.liferay.journal.exception.NoSuchFolderException: No JournalFolder exists with the primary key 39283
              at com.liferay.portlet.internal.PortletRequestDispatcherImpl.dispatch(PortletRequestDispatcherImpl.java:307) ~[portal-impl.jar:?]
              at com.liferay.portlet.internal.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:123) ~[portal-impl.jar:?]
              at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.include(MVCPortlet.java:571) ~[portal-kernel.jar:?]
              at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.include(MVCPortlet.java:587) ~[portal-kernel.jar:?]
              at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.doDispatch(MVCPortlet.java:461) ~[portal-kernel.jar:?]
              at javax.portlet.GenericPortlet.render(GenericPortlet.java:291) ~[portlet.jar:3.0.1]
      

      Reproduced on:
      Tomcat 9.0.43 + MySQL 5.7. Portal master GIT ID: de28124dfde97c9a709ce440ca1d3965d42fa0f0.
      Tomcat 9.0.43 + MySQL 5.7. Portal 7.3.x-private GIT ID: 72b43c4a031783a7756939a478b9ef8973f56287.
      Tomcat 9.0.40 + MySQL 5.7. Portal 7.3.10.1-SP1.
      Tomcat 9.0.40 + MySQL 5.7. Portal 7.2.x-private GIT ID: 897f4c61d373a5886d765bacd46b37aa445c6d89.
      Tomcat 9.0.37 + MySQL 5.7. Portal 7.2.10-DXP10.
      Tomcat 9.0.40 + MySQL 5.7. Portal 7.1.x-private GIT ID: c20210bf466a0177244de5c9e5fb6fffd3abbe0e.
      Tomcat 9.0.37 + MySQL 5.7. Portal 7.1.10.5-SP5.
      Tomcat 8.5.60 + MySQL 5.7. Portal 7.0.x-private GIT ID: 4c32e236fb11b69441f4a0e4389ee71bf5470fbd.
      Tomcat 8.0.53 + MySQL 5.7. Portal 7.0.10.15-SP15.

      Attachments

        Activity

          People

            yang.cao Yang Cao
            yang.cao Yang Cao
            Kiyoshi Lee Kiyoshi Lee
            Jürgen Kappler Jürgen Kappler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 34 weeks, 2 days ago

              Packages

                Version Package
                7.2.10 DXP FP13
                7.2.X
                7.3.7 CE GA8
                7.3.10 DXP FP2
                7.3.X
                7.4.0 CE GA1 DXP 7,4
                7.4.13 DXP GA1
                Master