legacy-knowledge-base
公開されました Sep. 10, 2025

Liferay 7.1+ へのアップグレード中にタイトル/説明が切り捨てられる

written-by

Dávid Hegedüs

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.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • アップグレード プロセス中に、特定の記事のタイトル/説明が切り捨てられているという警告がログに記録されます。
  • 例:
WARN [ForkJoinPool-5-worker-2][UpgradeJournalArticleLocalizedValues:192] Truncated the description value for article 12345 because it is too long
WARN [ForkJoinPool-5-worker-0][UpgradeJournalArticleLocalizedValues:192] Truncated the title value for article 123456 because it is too long

Environment

  • Liferay DXP 7.1+ にアップグレード

解決策

  • 7.0 以前のバージョンでは、タイトルと説明、およびそれらのすべてのローカライズ値が JournalArticle テーブルに格納されていました。 これらのフィールドが長く、複数の翻訳がある場合、非常に長く冗長になる可能性があります。
  • 7.1 から、タイトルと説明は JournalArticleLocalizationという新しいテーブルに保存されます。
    • 説明 最大 4000 文字が許可されます。
    • タイトル 最大 400/800 文字を許可します。
      • 7.4 u60 までは、 タイトル 400 文字まで使用できました。
      • 7.4 u60 から、 タイトル 800 文字まで使用できます。
  • したがって、この動作は意図的なものであり、一部のタイトルまたは説明を切り詰める必要がある場合に、これらの警告が表示されます。
  • 7.4 u60 よりも古いバージョンにアップグレードしていて、400 文字を超えるタイトルを保持する ある場合は、Liferay サポートにお問い合わせください。

追加情報

  • LPS-67685 400 文字までのタイトルが許可されています
  • LPS-171043 タイトルの長さを 800 文字まで増やします
did-this-article-resolve-your-issue

legacy-knowledge-base