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

NoSuchTagException throws when adding a web content with tag within a Change List

    Details

      Description

      Steps to reproduce

      1. Enable Change List
      2. Create a new publication
      3. Navigate to Tag and add a new tag
      4. Navigate to Web Content and add a new web content with tag

      Actual Result: The web content can be added but the following error throws

      2020-07-22 05:46:11.514 ERROR [BufferedIncrement-default-3][BufferedIncrementRunnable:68] Unable to persist buffered increment value: com.liferay.asset.kernel.service.AssetTagLocalService.incrementAssetCount(long,long)@com.liferay.portlet.asset.service.impl.AssetTagLocalServiceImpl([38045, 20131])
      com.liferay.asset.kernel.exception.NoSuchTagException: No AssetTag exists with the primary key 38045
              at com.liferay.portlet.asset.service.persistence.impl.AssetTagPersistenceImpl.findByPrimaryKey(AssetTagPersistenceImpl.java:4796)
              at com.liferay.portlet.asset.service.persistence.impl.AssetTagPersistenceImpl.findByPrimaryKey(AssetTagPersistenceImpl.java:4812)
              at com.liferay.portlet.asset.service.impl.AssetTagLocalServiceImpl.incrementAssetCount(AssetTagLocalServiceImpl.java:601)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69)
              at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
              at com.liferay.portal.kernel.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:64)
              at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
              at com.liferay.portal.internal.increment.BufferedIncreasableEntry.proceed(BufferedIncreasableEntry.java:50)
              at com.liferay.portal.internal.increment.BufferedIncrementRunnable.run(BufferedIncrementRunnable.java:65)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at java.lang.Thread.run(Thread.java:745)
      

        Attachments

          Activity

            People

            Assignee:
            brian.lee Brian Lee
            Reporter:
            linda.sui Linda Sui
            Participants of an Issue:
            Recent user:
            Jason Pince
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              9 weeks, 1 day ago

                Packages

                Version Package
                7.3.5 CE GA6
                7.3.10 DXP GA1
                Master