Legacy Knowledge Base
公開されました Sep. 10, 2025

アップグレードエラー DDMフォーム ポールの置き換え

Written By

Kenny Back

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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • Liferay 7.0から7.4へのアップグレードを実行していますが、ログに次のようなエラーが記録されています:
WARN  [main][BasePortletIdUpgradeProcess:511] null
com.liferay.portal.kernel.log.LogSanitizerException: org.postgresql.util.PSQLException:
ERROR: duplicate key value violates unique constraint "ix_cb778855"_ Detail: Key
(ownerid, ownertype, plid, portletid, ctcollectionid)=
(0, 3, 0, com_liferay_dynamic_data_mapping_form_web_portlet_DDMFormAdminPortlet, 0)
already exists. [Sanitized]

Environment

  • DXP 7.0 > DXP 7.4

解決策

  • アップグレードが失敗しているのは、DDM FormsがPollsを置き換えた古いバージョンを変換しようとしているからです。
  • これを解決するために2つのクエリーを実行することができる。
Select * from PortletPreferences where portletid = 'com_liferay_polls_web_portlet_PollsPortlet'

com_liferay_polls_web_portlet_PollsPortlet が存在することが確認できたら、次のクエリを実行します:

Delete from PortletPreferences where portletid = 'com_liferay_polls_web_portlet_PollsPortlet'

追加情報

  • LPS-187221今後のアップデートでこの問題を修正するためのチケットがあります。

Did this article resolve your issue ?

Legacy Knowledge Base