Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Coupon42] 制限を超える文字を入力するとシステム エラーが発生する #186

Open
maianhtu010596 opened this issue Sep 20, 2022 · 0 comments

Comments

@maianhtu010596
Copy link

概要(Overview)

新規作成ページで50文字を超える文字列を入力すると、画面にシステムエラーが表示されます。

期待する内容(Expect) or 要望 (Requirement)

再現手順(Procedure)

Step 1. 受注管理 > クーポン > クーポンを新規登録 (/plugin/coupon/new)
[クーポン名]欄に51文字以上入力して登録ボタンを押す
image

Step 2. Một lỗi hệ thống được hiển thị ra màn hình
image

Step 3. チェックファイル ファイル var/log:
システムエラーが発生しました。 ["An exception occurred while executing a query: SQLSTATE[22001]: String data, right truncated: 7 ERROR: value too long for type character varying(50)"

環境 (environment)

  • EC-CUBE: 4.2.0-beta2-20220916
  • PHP: 7.4.x, 8.1.x
  • DB:
    • PostgreSQL 14.x.x
    • MySQL 5.7.x

関連情報 (Ref)

4.2 公式プラグインテスト_EC-CUBE 4.2.0-beta2-20220916_Plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant