Uncaught Anim in browser console

Václav Suchánek, modified 5 Years ago. Junior Member Posts: 26 Join Date: 8/15/18 Recent Posts
Hello,
I noticed there is an repeating error in browser console.

It is thrown from AUI carousel component when comment is added (<liferay:comment:discussion/>).
It is a little bit complicated to reproduce this issue (2 components located within some entry), so i have created a sample module. See attachment called entry-test.rar. It is a maven module which you can deploy to Liferay environment according to following steps:

1) Extract .rar file and copy it to to your workspace ./modules
2) Correct the name of the parent groupId/artifactId in the main pom.xml (to fit it with dependencies between modules).
3) Build and Deploy module.
4) For adding a test entry insert the following record to ns_entrytest database table:
INSERT INTO ns_entrytest VALUES ('abcd1234', 1, 0, 0, 39801, 'Test user', '2020-08-03 08:54:14.917', '2020-08-03 08:54:14.917', 'Test Title', 'Test Content');
(39801 is the userId - choose some user who is omniAdmin due to permissions - ADD_COMMENT)5) Add portlet to some page.
6) Open browser console.
7) Add some comment.
8) After comment is added and page is reloaded - see the error 'Uncaught Anim' in browser console.

Details about error
Error is repeating accordingly to the value intervalTime: 5 (Carousel component).



Tested on:
Liferay 7.3.3 GA4 (https://releases-cdn.liferay.com/portal/7.3.3-ga4/liferay-ce-portal-tomcat-7.3.3-ga4-20200701015330959.tar.gz)
Server version: Apache Tomcat/9.0.33
OS Name:  Windows 10
JVM Version:    1.8.0_144-b01
PostgreSQL 
Maven workspace
IDE: IntelliJ IDEA 2020.1.3 (Ultimate Edition) Build #IU-201.8538.31, built on July 7, 2020
Chrome Version 84.0.4147.105 (Official Build) (64-bit)
Firefox 79.0 (64 bit)
Edge Version 79.0.309.65 (Official build) (64-bit)

Do you have any ideas? Please?

Thanks in advance.

Vaclav