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

[4.2] 範囲外の日付を入力するとシステムエラーが発生する不具合の修正 #5825

Merged
merged 3 commits into from
May 19, 2023

Conversation

maianhtu010596
Copy link
Contributor

@maianhtu010596 maianhtu010596 commented Sep 27, 2022

概要(Overview・Refs Issue)

以下のissueの対応です。
#5816 [4.2] お届け日を制限を超える過去の日付を入力するとエラーが発生しました

方針(Policy)

実装に関する補足(Appendix)

テスト(Test)

この問題を修正し、次のような機能テストを行いました。

image

※0001/01/01等の日付を入力すると「不正な日付です」というエラーメッセージが出る

相談(Discussion)

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

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

レビュワー確認項目

  • 動作確認
  • コードレビュー
  • E2E/Unit テスト確認(テストの追加・変更が必要かどうか)
  • 互換性が保持されているか
  • セキュリティ上の問題がないか
    • 権限を超えた操作が可能にならないか
    • 不要なファイルアップロードがないか
    • 外部へ公開されるファイルや機能の追加ではないか
    • テンプレートでのエスケープ漏れがないか

@chihiro-adachi chihiro-adachi added this to the 4.2.x milestone Sep 28, 2022
@chihiro-adachi chihiro-adachi changed the title [4.2] 出荷日制限を超える日付を入力するとエラーが発生しました くなる 不具合の修正 [4.2] 範囲外の日付を入力するとシステムエラーが発生する不具合の修正 Sep 28, 2022
@xuelian311 xuelian311 modified the milestones: 4.2.x, 4.2.2 May 15, 2023
@codecov-commenter
Copy link

codecov-commenter commented May 16, 2023

Codecov Report

Merging #5825 (adf3cb0) into 4.2 (800915d) will increase coverage by 0.00%.
The diff coverage is 100.00%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff            @@
##                4.2    #5825   +/-   ##
=========================================
  Coverage     82.52%   82.52%           
  Complexity     6401     6401           
=========================================
  Files           475      475           
  Lines         25734    25740    +6     
=========================================
+ Hits          21236    21242    +6     
  Misses         4498     4498           
Flag Coverage Δ
E2E 69.43% <100.00%> (+0.01%) ⬆️
Unit 79.71% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/Eccube/Form/Type/Admin/ShippingType.php 99.56% <100.00%> (+0.01%) ⬆️

@shinya
Copy link
Contributor

shinya commented May 19, 2023

こちらテストも全て通り、内容も問題ないためマージいたします。

@shinya shinya merged commit 417a699 into EC-CUBE:4.2 May 19, 2023
188 checks passed
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

6 participants