Documents can not be moved when Staging is enabled
Activity
Show:

Mark Jin February 8, 2012 at 5:45 PM
PASSED Manual Testing following the steps in the description.
Reproduced on:
Tomcat 7.0 + MySQL 5. 6.1.0 GA1.
Fixed on:
Tomcat 7.0 + MySQL 5. 6.1.x GIT ID: 6d6b8814da7c7295ed4cab8420e070793361f856.
Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: 71ce8e940ae12bae24e2a5e14cf3f836bb291915.

Michael Saechang February 8, 2012 at 3:21 PM
Committed on:
6.1.x GIT ID: abba6576950a95c73cda4d06281cbab18c277701.
6.2.x GIT ID: abba6576950a95c73cda4d06281cbab18c277701.
Fixed
Details
Assignee
Mark JinMark Jin(Deactivated)Reporter
Liferay WCMLiferay WCM(Deactivated)Labels
Branch Version/s
6.1.xBackported to Branch
CommittedEpic/Theme
Fix Priority
5Git Pull Request
Bug Type
Regression BugComponents
Fix versions
Affects versions
Priority
Medium
Details
Details
Assignee

Reporter

Labels
Branch Version/s
6.1.x
Backported to Branch
Committed
Epic/Theme
Fix Priority
5
Git Pull Request
Bug Type
Regression Bug
Components
Fix versions
Affects versions
Priority
Zendesk Support
Linked Tickets
Zendesk Support
Linked Tickets
Zendesk Support

Linked Tickets
Created February 1, 2012 at 7:20 AM
Updated June 24, 2023 at 3:51 PM
Resolved October 3, 2012 at 5:36 PM
Steps to reproduce:
1. Add the document library to a page
2. Enable Staging (Site Settings --> Staging --> Local live)
3. Add a document and a folder
4. Try to move the document to the folder, you will get this exception:
17:17:20,384 ERROR [render_portlet_jsp:154] com.liferay.portlet.documentlibrary.NoSuchSyncException: No DLSync exists with the key {fileId=10548}
at com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistenceImpl.findByFileId(DLSyncPersistenceImpl.java:539)
at com.liferay.portlet.documentlibrary.service.impl.DLSyncLocalServiceImpl.updateSync(DLSyncLocalServiceImpl.java:73)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:112)
at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
at com.liferay.portlet.documentlibrary.service.impl.DLAppHelperLocalServiceImpl.moveFileEntry(DLAppHelperLocalServiceImpl.java:271)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:112)
at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
at com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl.moveFileEntry(DLFileEntryLocalServiceImpl.java:826)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:112)
at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
at com.liferay.portlet.documentlibrary.service.impl.DLFileEntryServiceImpl.moveFileEntry(DLFileEntryServiceImpl.java:475)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:112)
at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)