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

商品のmin|max集計でエラーが発生するのを修正 #4682

Merged
merged 1 commit into from
Sep 25, 2020

Conversation

izayoi256
Copy link
Contributor

@izayoi256 izayoi256 commented Sep 7, 2020

概要(Overview・Refs Issue)

通常価格(price01)を登録していない商品に対して、(最高|最低)税込通常価格を取得しようとすると

Warning: min(): Array must contain at least one element

が発生する。

方針(Policy)

税込通常価格以外にも、同じエラーが発生しうる箇所に同様の修正。

テスト(Test)

修正したメンバ関数に対してテストを追加。

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

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

レビュワー確認項目

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

@okazy okazy added the bug:Low label Sep 24, 2020
@okazy okazy added this to the 4.0.x milestone Sep 24, 2020
Copy link
Contributor

@okazy okazy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

修正内容と動作を確認して問題ありませんでした。
落ちているテストも別でIssueが立っているので問題ありません。

@okazy okazy modified the milestones: 4.0.x, 4.0.6 Sep 24, 2020
@okazy okazy merged commit 2bf4eab into EC-CUBE:4.0 Sep 25, 2020
@okazy
Copy link
Contributor

okazy commented Sep 25, 2020

@izayoi256
ありがとうございます!取り込みました。

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

Successfully merging this pull request may close these issues.

3 participants