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

フィールドセットとして再利用され、以前にインポートされた構造を保存できません。 「構造が見つかりません」。 NoSuchStructureException

written-by

Sorin Pop

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

問題

  • 構造体を編集した後、いくつかの構造体を保存しようとすると、UI で "structure could not be found" というエラーが表示され、ログでは "NoSuchStructureException:ログには "NoSuchStructureException: No DDMStructure exists with the primary key 178906" と表示されます。
  • また、この問題は、他の構造体によって(フィールドセットとして)再利用される構造体でも発生するようだ。

Environment

  • 7.4

解決策

  • これらの構造体が以前、ラーのエクスポート/インポート操作によって「作成」されたもの(つまり、他のサイトや他のDXPサーバーからエクスポートされたもの)で、U45以前のパッチレベルで行われたものである場合。
  • ということは、U45以前のバグが原因である可能性が高い(https://liferay.atlassian.net/browse/LPS-155637)。
  • 解決策としては、LPS-155637でホットフィックスを適用するか、(理想的には)U45以降のバージョンにアップグレードして、エクスポートとインポートの操作を一からやり直すことです。
  • エクスポート/インポートのやり直しが現実的でない、または適用できない場合は、ヘルプセンターのチケットを開いてください。問題を解決するGroovyスクリプトを提供できるかもしれません。 データベースのダンプもおそらく必要だろう。 このファスト・トラックの記事と https://liferay-support.zendesk.com/agent/tickets/87701 をHCチケットに記載してください。

did-this-article-resolve-your-issue

legacy-knowledge-base