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

Can not add comments in Web Content Display

    Details

      Description

      Step to reproduce:

      1. Add a web content based on Basic Web Content
      2. Type title and content
      3. Change to es-ES via language selector of title field
      4. Type tite and content
      5. Publish
      6. Add a widget page
      7. Add a Web Content Display to page
      8. Select the web content
      9. Check the Comments in Content Metadata section
      10. Save
      11. Type comments in comments field
      12. Click Reply

      Expected Results:
      The comments should be created successfully.

      Actual Results:
      The comments is not created. Additionally, the followin error is thrown in server console

      18-Dec-2020 05:56:55.601 涓ラ噸 [http-nio-8080-exec-1] org.apache.catalina.core.StandardWrapperValve.invoke 鍦ㄨ矾寰勪负鐨勪笂涓嬫枃涓紝Servlet[Main Servlet]鐨凷ervlet.service锛堬級寮曞彂浜嗗叿鏈夋牴鏈師鍥犵殑寮傚父com.liferay.asset.kernel.exception.NoSuchEntryException: No AssetEntry exists with the key {classNameId=20134, classPK=39367}
              com.liferay.asset.kernel.exception.NoSuchEntryException: No AssetEntry exists with the key {classNameId=20134, classPK=39367}
                      at com.liferay.portlet.asset.service.persistence.impl.AssetEntryPersistenceImpl.findByC_C(AssetEntryPersistenceImpl.java:3596)
                      at com.liferay.portlet.asset.service.impl.AssetEntryLocalServiceImpl.getEntry(AssetEntryLocalServiceImpl.java:297)
                      at sun.reflect.GeneratedMethodAccessor555.invoke(Unknown Source)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                      at java.lang.reflect.Method.invoke(Method.java:498)
                      at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66)
                      at com.sun.proxy.$Proxy596.getEntry(Unknown Source)
                      at com.liferay.asset.kernel.service.AssetEntryLocalServiceWrapper.getEntry(AssetEntryLocalServiceWrapper.java:512)
                      at sun.reflect.GeneratedMethodAccessor555.invoke(Unknown Source)
                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                      at java.lang.reflect.Method.invoke(Method.java:498)
                      at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66)
                      at com.sun.proxy.$Proxy597.getEntry(Unknown Source)
                      at sun.reflect.GeneratedMethodAccessor555.invoke(Unknown Source)
                      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)
      

      Reproduced on:
      Tomcat 9.0.37 + MySQL 5.7. Portal master GIT ID: 9810d75996dab49bd03ab212258f930e7464d40c.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              yang.cao Yang Cao
              Reporter:
              yang.cao Yang Cao
              Participants of an Issue:
              Recent user:
              Istvan Dezsi
              Engineering Assignee:
              Christopher Kian
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  7.2.10 DXP FP11
                  7.2.10.3 DXP SP4
                  7.2.X
                  7.3.X
                  7.3.10 DXP FP1
                  7.3.10.1 DXP SP1
                  7.3.6 CE GA7
                  Master