-
Type:
Bug
-
Status: Selected for Development
-
Resolution: Unresolved
-
Affects Version/s: Master
-
Fix Version/s: None
-
Component/s: Publications
-
Labels:
- 7.4-known-issues
- QA-AUTOMATION
- liferay-ga10-ce-743
- liferay-ga11-ce-743
- liferay-ga12-ce-743
- liferay-ga13-ce-743-known-issue
- liferay-ga14-ce-743-known-issues
- liferay-ga15-ce-743-known-issues
- liferay-ga16-ce-743-known-issues
- liferay-ga17-ce-743-known-issues
- liferay-ga18-ce-743-known-issues
- liferay-ga19-ce-743-known-issues
- liferay-ga20-ce-743-known-issues
- liferay-ga21-ce-743-known-issues
- liferay-ga22-ce-743-known-issues
- liferay-ga23-ce-743-known-issues
- liferay-ga24-ce-743-known-issues
- liferay-ga25-ce-743-known-issues
- liferay-ga26-ce-743-known-issues
- liferay-ga27-ce-743-known-issues
- liferay-ga28-ce-743-known-issues
- liferay-ga29-ce-743-known-issues
- liferay-ga30-ce-743-known-issues
- liferay-ga31-ce-743-known-issues
- liferay-ga32-ce-743-known-issues
- liferay-ga33-ce-743-known-issues
- liferay-ga34-ce-743-known-issues
- liferay-ga35-ce-743-known-issues
- liferay-ga36-ce-743-known-issues
- liferay-ga37-ce-743-known-issues
- liferay-ga38-ce-743-known-issues
- liferay-ga5-ce-743
- liferay-ga6-ce-743
- liferay-ga7-ce-743
- liferay-ga8-ce-743
- liferay-ga9-ce-743
- liferay-u1-dxp-7413
- liferay-u2-dxp-7413
-
Fix Priority:4
-
Git Pull Request:
-
QA Test Score:5
Steps to reproduce
- Enable Publications
- Add a new DM folder
- Add a new document within the DM folder
- Add a new publication "P1"
- Delete the new folder
- Add a new publication "P2"
- Delete the new document
- Publish "P2"
- Select "P1"
- Go to publish "P1"
Actual Result:
There are no conflicts, fail to publish "P1" and following errors throw
2021-09-06 02:49:42.077 ERROR [liferay/background_task-5][CTServiceRegistry:134] On after publish callback failure for change tracking collection 1 by co[email protected]580b5595 com.liferay.change.tracking.spi.exception.CTEventException: com.liferay.change.tracking.store.exception.NoSuchContentException: No CTSContent exists with the primary key 42155 at com.liferay.change.tracking.store.internal.CTStoreCTEventListener.onAfterPublish(CTStoreCTEventListener.java:95) ~[?:?] at com.liferay.change.tracking.internal.CTServiceRegistry.onAfterPublish(CTServiceRegistry.java:131) [bundleFile:?] at com.liferay.change.tracking.internal.background.task.CTPublishBackgroundTaskExecutor.execute(CTPublishBackgroundTaskExecutor.java:189) [bundleFile:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_291] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_291] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_291] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_291] at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50) [portal-impl.jar:?] at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69) [portal-impl.jar:?] at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) [portal-impl.jar:?] at com.liferay.change.tracking.internal.aop.CTTransactionAdvice.invoke(CTTransactionAdvice.java:80) [bundleFile:?] at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) [portal-impl.jar:?] at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49) [portal-impl.jar:?] at com.sun.proxy.$Proxy664.execute(Unknown Source) [?:?] at com.liferay.portal.background.task.internal.SerialBackgroundTaskExecutor.execute(SerialBackgroundTaskExecutor.java:63) [bundleFile:?] at com.liferay.portal.kernel.backgroundtask.DelegatingBackgroundTaskExecutor.execute(DelegatingBackgroundTaskExecutor.java:41) [portal-kernel.jar:?] at com.liferay.portal.background.task.internal.ThreadLocalAwareBackgroundTaskExecutor.execute(ThreadLocalAwareBackgroundTaskExecutor.java:72) [bundleFile:?] at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:136) [bundleFile:?] at com.liferay.portal.kernel.messaging.BaseMessageListener.doReceive(BaseMessageListener.java:48) [portal-kernel.jar:?] at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:34) [portal-kernel.jar:?] at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74) [portal-kernel.jar:?] at com.liferay.portal.messaging.internal.ParallelDestination$1.run(ParallelDestination.java:56) [bundleFile:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_291] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_291] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_291] Caused by: com.liferay.change.tracking.store.exception.NoSuchContentException: No CTSContent exists with the primary key 42155 at com.liferay.change.tracking.store.service.persistence.impl.CTSContentPersistenceImpl.findByPrimaryKey(CTSContentPersistenceImpl.java:2875) ~[?:?] at com.liferay.change.tracking.store.service.persistence.impl.CTSContentPersistenceImpl.findByPrimaryKey(CTSContentPersistenceImpl.java:2893) ~[?:?] at com.liferay.change.tracking.store.service.base.CTSContentLocalServiceBaseImpl.getCTSContent(CTSContentLocalServiceBaseImpl.java:269) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_291] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_291] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_291] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_291] at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50) ~[portal-impl.jar:?] at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69) ~[portal-impl.jar:?] at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) ~[portal-impl.jar:?] at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49) ~[portal-impl.jar:?] at com.sun.proxy.$Proxy708.getCTSContent(Unknown Source) ~[?:?] at com.liferay.change.tracking.store.internal.CTStoreCTEventListener.onAfterPublish(CTStoreCTEventListener.java:83) ~[?:?] ... 24 more 2021-09-06 02:52:11.593 ERROR [liferay/background_task-8][BackgroundTaskMessageListener:182] Unable to execute background task com.liferay.portal.kernel.exception.SystemException: Size mismatch expected 6 but was 3 at com.liferay.change.tracking.internal.background.task.CTServicePublisher._publish(CTServicePublisher.java:165) ~[?:?] at com.liferay.portal.service.base.ResourcePermissionLocalServiceBaseImpl.updateWithUnsafeFunction(ResourcePermissionLocalServiceBaseImpl.java:628) ~[portal-impl.jar:?] at sun.reflect.GeneratedMethodAccessor646.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_291] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_291] at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66) ~[portal-kernel.jar:?] at com.sun.proxy.$Proxy863.updateWithUnsafeFunction(Unknown Source) ~[?:?] at com.liferay.portal.kernel.service.ResourcePermissionLocalServiceWrapper.updateWithUnsafeFunction(ResourcePermissionLocalServiceWrapper.java:1183) ~[portal-kernel.jar:?] at sun.reflect.GeneratedMethodAccessor646.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_291] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_291] at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66) ~[portal-kernel.jar:?] at com.sun.proxy.$Proxy864.updateWithUnsafeFunction(Unknown Source) ~[?:?] at sun.reflect.GeneratedMethodAccessor646.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_291] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_291] at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50) ~[portal-impl.jar:?] at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69) ~[portal-impl.jar:?] at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) ~[portal-impl.jar:?] at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49) ~[portal-impl.jar:?] at com.sun.proxy.$Proxy47.updateWithUnsafeFunction(Unknown Source) ~[?:?] at com.liferay.change.tracking.internal.background.task.CTServicePublisher.publish(CTServicePublisher.java:86) ~[?:?] at com.liferay.change.tracking.internal.background.task.CTPublishBackgroundTaskExecutor.execute(CTPublishBackgroundTaskExecutor.java:169) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_291] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_291] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_291] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_291] at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50) ~[portal-impl.jar:?] at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69) ~[portal-impl.jar:?] at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) ~[portal-impl.jar:?] at com.liferay.change.tracking.internal.aop.CTTransactionAdvice.invoke(CTTransactionAdvice.java:80) ~[?:?] at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) ~[portal-impl.jar:?] at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49) ~[portal-impl.jar:?] at com.sun.proxy.$Proxy664.execute(Unknown Source) ~[?:?] at com.liferay.portal.background.task.internal.SerialBackgroundTaskExecutor.execute(SerialBackgroundTaskExecutor.java:63) ~[?:?] at com.liferay.portal.kernel.backgroundtask.DelegatingBackgroundTaskExecutor.execute(DelegatingBackgroundTaskExecutor.java:41) ~[portal-kernel.jar:?] at com.liferay.portal.background.task.internal.ThreadLocalAwareBackgroundTaskExecutor.execute(ThreadLocalAwareBackgroundTaskExecutor.java:72) ~[bundleFile:?] at com.liferay.portal.background.task.internal.messaging.BackgroundTaskMessageListener.doReceive(BackgroundTaskMessageListener.java:136) [bundleFile:?] at com.liferay.portal.kernel.messaging.BaseMessageListener.doReceive(BaseMessageListener.java:48) [portal-kernel.jar:?] at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:34) [portal-kernel.jar:?] at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74) [portal-kernel.jar:?] at com.liferay.portal.messaging.internal.ParallelDestination$1.run(ParallelDestination.java:56) [bundleFile:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_291] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_291] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_291]