legacy-knowledge-base
公開されました Jun. 30, 2025

アカウント/ポータル・アドレス・オブジェクトとカスタム・オブジェクトの間にリレーションシップを追加できない

written-by

Tamas Kovacs

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

問題

  • Account または Portal Address システム・オブジェクトとカスタム・オブジェクトの間にリレーションシップを作成しようとすると、失敗します。
  • 間違った)セットアップによっては、コンソールに次のようなエラーメッセージが表示される:
    com.liferay.object.exception.ObjectRelationshipParameterObjectFieldException: Object definition Address requires a parameter object field ID

環境

  • Liferay DXP 7.4+

解像度

  • カスタムオブジェクトを[Accounts]および[Postal Address]システムオブジェクトに関連付ける場合、これらの関連はシステムオブジェクト側で定義し、1対多のタイプを使用する必要があります。 カスタムオブジェクトは、両方の関連の多数側である必要があります。

追加情報

  • この問題は、商取引関連の理由でこれらのオブジェクト関係を使用しようとした場合にも発生する可能性がある。
  • 詳しくは この記事をご覧ください。

did-this-article-resolve-your-issue

legacy-knowledge-base