legacy-knowledge-base
公開されました Jul. 2, 2025

Liferay Portal 6.2 EE SP14 既知の問題点

投稿者

Brett Ripley

knowledge-article-header-disclaimer-how-to

knowledge-article-header-disclaimer

legacy-article

learn-legacy-article-disclaimer-text

本記事では、Liferay Portal 6.2 EE SP14で存在する問題点を列挙します。

解決策

ステータス固定

説明 local.prepend.frendly.url.style を 2 に設定すると、URLに完全なローカルが付加される。

解決方法ヘルプセンターから入手できるFix Pack Portal-80-6210を適用してください。

詳しくは、 LPS-60313 をご覧ください。

ステータス固定

説明プロパティ locale.prepend.friendly.url.style の値 3 は、プロパティファイルで指定されたとおりに動作しません。 プロパティの説明にあるような、ゲストユーザー向けのURLにロケールを前置することはありません:

    # Set this to 0 if the locale is not automatically prepended to a URL. This
    # means that each URL could potentially point to many different languages.
    # For example, the URL http://localhost:8080/web/guest/home could then be
    # viewed by users in many different languages.
    #
    # Set this to 1 if the locale is automatically prepended to a URL when the
    # requested locale is not the default locale. This means that each URL
    # points to just one language. For example, the URL
    # http://localhost:8080/web/guest/home would point to the default language.
    # The URL http://localhost:8080/zh/web/guest/home and
    # http://localhost:8080/zh_CN/web/guest/home would both point to the Chinese
    # language.
    #
    # In cases where the prepended locale is "zh" and not the complete locale
    # "zh_CN", then the full locale returned will be based on the order in which
    # the locales appear in the property "locales". If "zh_CN" appears before
    # "zh_TW", then "zh" will be a short hand for "zh_TW".
    #
    # The default language is set in system.properties with the properties
    # "user.country" and "user.language".
    #
    # Set this to 2 if the locale is automatically prepended to every URL. This
    # means that each URL points to just one language.
    #
    # Set this to 3 if the locale is automatically prepended to a URL when the
    # requested locale is not the default user locale. In the case of guest
    # users, the behavior is the same as having a value of 1.
    #
    # Note that each language requires an entry in the property "locales" and a
    # servlet mapping in web.xml for the I18n Servlet.
    #
    locale.prepend.friendly.url.style=3

解決方法SP17以降にアップデートする

詳しくは LPS-65302 をご覧ください。

did-this-article-resolve-your-issue

legacy-knowledge-base