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

バッチ実行中の例外 [java.sql.BatchUpdateException: data exception: string data, right truncation ; size limit: 75 table:COMMERCEVIRTUALORDERITEM列:URL].

written-by

Kanchan Bisht

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

問題

  • バーチャル製品URLは75文字まで

  • 1.
    2. Money Order が有効
    3.
    4.価格を設定したバーチャル商品を作成する。 URLには、75文字以上
    5.
    6. Minium
    7でそのバーチャル商品を使ってチェックアウトを開始する。 Admin Order
    8. 支払いを完了に設定し、チェックアウトを終了する
    9. Minium
    10でPlaced Orderに入る。 ウィジェット "Product Downloads "をデプロイする
    期待される動作:
    観察された動作:
    Tomcatコンソールで以下のエラーがスローされます:
    ERROR [liferay/commerce_payment_status-2][BatchingBatch:134] HHH000315: Exception executing batch [java.sql.BatchUpdateException: data exception: string data, right truncation ; size limit: 75 table: COMMERCEVIRTUALORDERITEM column: URL], SQL: insert into CommerceVirtualOrderItem (mvccVersion, uuid_, groupId, companyId, userId, userName, createDate, modifiedDate, commerceOrderItemId, fileEntryId, url, activationStatus, duration, usages, maxUsages, active_, startDate, endDate, commerceVirtualOrderItemId) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)

環境

  • Liferay DXP 7.4
  • Commerce 4.0

解像度

  • この現象は、 COMMERCE-11337を介して対処されている commerce の既知のバグです。

追加情報

  • Hotfixまたはこの件に関する詳細情報が必要な場合は、パッチの詳細を添付してサポートチケットを送信してください。
  • Liferay DXPへのFix PackとHotfixのインストール を使用して、Fixpack や Hotfix をあなたの環境にインストールする方法を説明します。
did-this-article-resolve-your-issue

legacy-knowledge-base