Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
6.2.X EE, 7.0.0 M3
-
Tomcat 7.0.42 + MySQL 5.5.29 Portal master GIT ID: 616d03f09a4981a36680e999deebcdad8d13d703.
Tomcat 7.0.42 + MySQL 5.5.29 Portal ee-6.2.x EE GIT ID: 6ca5ac506ed52369cf72b96267d3ecd58cab87ba.
-
6.2.x
-
Committed
-
6
-
3
Description
Steps to reproduce:
1. Start portal and login.
2. "Admin" > "Content" > "Wiki" > press the "Main" link.
3. Press "Front Page" > "Details" > "Attachments", upload any file and save it.
4. Press "History", find the file which just uploaded, press the "remove" link (remove.png).
5. Press the "Undo" button (undo.png).
Expected result:
Deleted file can be restored without any issue.
Actual result:
Error message displayed on screen and terminal.
09:58:18,755 ERROR [http-bio-8080-exec-4][render_portlet_jsp:132] null
com.liferay.portlet.wiki.NoSuchPageResourceException: No WikiPageResource exists with the primary key 10479
at com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistenceImpl.findByPrimaryKey(WikiPageResourcePersistenceImpl.java:1248)
at com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistenceImpl.findByPrimaryKey(WikiPageResourcePersistenceImpl.java:1266)
at com.liferay.portlet.wiki.service.impl.WikiPageResourceLocalServiceImpl.getPageResource(WikiPageResourceLocalServiceImpl.java:71)
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.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)
at com.liferay.portlet.wiki.service.impl.WikiPageLocalServiceImpl.getPage(WikiPageLocalServiceImpl.java:948)
at com.liferay.portlet.wiki.service.impl.WikiPageLocalServiceImpl.getPage(WikiPageLocalServiceImpl.java:940)
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.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)
at com.liferay.portlet.wiki.service.impl.WikiPageServiceImpl.restorePageFromTrash(WikiPageServiceImpl.java:625)
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)