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

NoSuchEntryException when click Recently Removed Attachment in MB/Wiki

    Details

    • Fix Priority:
      3

      Description

      Steps to reproduce:

      1. Add an attachment in MB/Wiki and then remove.
      2. Click 1 Recently Removed Attachment.

      Actual results:
      The errors appear:

      04:37:35,887 ERROR [http-bio-9080-exec-9][IncludeTag:129] Current URL /group/control_panel/manage?p_p_id=154&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&doAsGroupId=20182&refererPlid=20185&controlPanelCategory=current_site.content&_154_title=FrontPage&_154_nodeId=20460&_154_redirect=http%3A%2F%2Flocalhost0%3A9080%2Fgroup%2Fcontrol_panel%2Fmanage%3Fp_p_id%3D154%26p_p_lifecycle%3D0%26p_p_state%3Dmaximized%26p_p_mode%3Dview%26doAsGroupId%3D20182%26refererPlid%3D20185%26controlPanelCategory%3Dcurrent_site.content%26_154_nodeId%3D20460%26_154_title%3DFrontPage%26_154_redirect%3Dhttp%253A%252F%252Flocalhost0%253A9080%252Fgroup%252Fcontrol_panel%252Fmanage%253Fp_p_id%253D154%2526p_p_lifecycle%253D0%2526p_p_state%253Dmaximized%2526p_p_mode%253Dview%2526doAsGroupId%253D20182%2526refererPlid%253D20185%2526controlPanelCategory%253Dcurrent_site.content%2526_154_struts_action%253D%25252Fwiki_admin%25252Fview%2526_154_nodeName%253DMain%2526_154_title%253DFrontPage%26_154_struts_action%3D%252Fwiki_admin%252Fview_page_attachments&_154_struts_action=%2Fwiki_admin%2Fview_page_attachments&_154_viewTrashAttachments=true generates exception: com.liferay.portlet.trash.NoSuchEntryException: No TrashEntry exists with the key {classNameId=20011, classPK=20481}
      com.liferay.portlet.trash.NoSuchEntryException: No TrashEntry exists with the key {classNameId=20011, classPK=20481}
      	at com.liferay.portlet.trash.service.persistence.TrashEntryPersistenceImpl.findByC_C(TrashEntryPersistenceImpl.java:2186)
      	at com.liferay.portlet.trash.service.impl.TrashEntryLocalServiceImpl.getEntry(TrashEntryLocalServiceImpl.java:365)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
      	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
      	at com.liferay.portal.cache.ThreadLocalCacheAdvice.invoke(ThreadLocalCacheAdvice.java:51)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
      

      Expected results:
      No errors.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 34 weeks, 2 days ago

                Packages

                Version Package
                6.2.X EE
                7.0.X
                Master