Issue
- I upgraded my instance to Quarterly Release. I performed a full reindex and received several errors in the log:
ERROR [default-26][jericho:211] StartTag a at (r17,c4,p1100) contains attribute name with invalid character at position (r17,c97,p1193)
Environment
- Liferay DXP 7.0, 7.1, 7.2, 7.3, 7.4
- Liferay DXP Quarterly Releases
Resolution
- This is a known issue caused by upgrading the Jericho version to 3.4 here LPS-193534. It changed the log level of all parsing errors from INFO to ERROR", please see the release note.
- To resolve the issue, please add the attached XML file "com.liferay.portal.html.parser.impl-log4j-ext.xml" in your [LIFERAY_HOME]/osgi/log4j folder. This will set the Jericho HTML "net.htmlparser.jericho" log level to "Fatal", and the errors will not appear while reindexing.
订阅者专属内容
Liferay企业级订阅提供超过1500篇文章的访问权限,包括最佳范例,排查和解决问题,和其他有价值的解决方案。登录以获得全部权限。
登录