ナレッジベース
公開されました Jun. 30, 2025

四半期リリースへのアップグレード後にWebコンテンツ記事のインデックスを再作成する際のHTML解析の問題(Jericho)

written-by

Ahmed Abdin

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

問題

  • インスタンスを四半期リリースにアップグレードしました。 完全な再インデックスを実行したところ、ログにいくつかのエラーが表示されました:
ERROR [default-26][jericho:211] StartTag a at (r17,c4,p1100) contains attribute name with invalid character at position (r17,c97,p1193)

環境

  • Liferay DXP 7.0, 7.1, 7.2, 7.3, 7.4
  • Liferay DXP Quarterly Releases

解決

  • この問題は、LPS-193534でJerichoのバージョンを3.4にアップグレードした際に発生した既知の問題です。 すべての解析エラーのログレベルをINFOからERRORに変更 しました リリースノートをご覧ください。
  • この問題を解決するには、、添付のXMLファイル"com.liferay.portal.html.parser.impl-log4j-ext.xml"を[LIFERAY_HOME]/osgi/log4jフォルダに追加してください。 これにより、Jericho HTML"net.htmlparser.jericho"のログレベルが"Fatal" に設定され、再インデックス時にエラーが表示されなくなります。
did-this-article-resolve-your-issue

ナレッジベース