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

受注登録画面の利用ポイントフォームのバリデーションをrequire=trueに修正 #4490

Merged
merged 1 commit into from
Apr 14, 2020

Conversation

huwamoko6210
Copy link

@huwamoko6210 huwamoko6210 commented Mar 19, 2020

概要(Overview・Refs Issue)

受注登録画面の利用ポイントフォームがnullでpostされると、not null制約エラーになるため、require=false→ require=trueに変更

方針(Policy)

dtb_order.use_pointカラムはnot null制約のため、必須バリデーションが必要と判断し、修正

テスト(Test)

nullで登録したとき、バリデーションが発生することを確認

マイナーバージョン互換性保持のための制限事項チェックリスト

  • 既存機能の仕様変更
  • フックポイントの呼び出しタイミングの変更
  • フックポイントのパラメータの削除・データ型の変更
  • twigファイルに渡しているパラメータの削除・データ型の変更
  • Serviceクラスの公開関数の、引数の削除・データ型の変更
  • 入出力ファイル(CSVなど)のフォーマット変更

レビュワー確認項目

  • 動作確認
  • コードレビュー
  • E2E/Unit テスト確認(テストの追加・変更が必要かどうか)
  • 互換性が保持されているか
  • セキュリティ上の問題がないか

@chihiro-adachi
Copy link
Contributor

#4289 #4423

@chihiro-adachi chihiro-adachi added this to the 4.0.4 milestone Apr 14, 2020
@chihiro-adachi chihiro-adachi merged commit 804f663 into EC-CUBE:4.0 Apr 14, 2020
@chihiro-adachi chihiro-adachi changed the title 【fix】受注登録画面の利用ポイント(use_point)フォームのバリデーションをrequire=trueに修正 受注登録画面の利用ポイントフォームのバリデーションをrequire=trueに修正 Apr 14, 2020
@chihiro-adachi
Copy link
Contributor

@huwamoko6210
ありがとうございます。マージしました。

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

Successfully merging this pull request may close these issues.

None yet

3 participants