Message Boards

Javascript issue - Liferay 7.1 GA

Alberto Gutierrez, modified 2 Years ago.

Javascript issue - Liferay 7.1 GA

New Member Posts: 13 Join Date: 5/18/20 Recent Posts

I´ve been working in a website designed with Liferay 7.1 GA. I need to correct some accesibility issues so I´ve added some javascript scripts to execute in some pages. This scripts work correctly but at some point they stopped working correctly. I dont know why this is happening but analyzing the logs I found this error for every line of the scripts:

2021-06-28 09:32:33.680 ERROR [http-nio-8080-exec-1281][UnicodeProperties:120] Invalid property on line }

How can I fix it?

thumbnail
Nikhil Nishchal, modified 2 Years ago.

RE: Javascript issue - Liferay 7.1 GA

Regular Member Posts: 177 Join Date: 6/22/12 Recent Posts

Hi Alberto,
If there is any JS error can you try to open the page using js_fast_load=0 in url parameter.
Also, you can make sure that your js loads after all portlete rendered.

Thanks!