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

ref #5725 商品コードバリデートの不整合 #5740

Merged
merged 5 commits into from
Sep 1, 2022

Conversation

nobuhiko
Copy link
Contributor

概要(Overview・Refs Issue)

#5725

方針(Policy)

ProductClassType と ProductClassEditType.php で内容が違うのであわせる

実装に関する補足(Appendix)

テスト(Test)

相談(Discussion)

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

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

レビュワー確認項目

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

@codecov-commenter
Copy link

Codecov Report

Merging #5740 (04ecb8b) into 4.2 (7d62867) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##                4.2    #5740      +/-   ##
============================================
+ Coverage     78.83%   78.84%   +0.01%     
- Complexity     6267     6273       +6     
============================================
  Files           468      469       +1     
  Lines         21046    21059      +13     
============================================
+ Hits          16592    16605      +13     
  Misses         4454     4454              
Flag Coverage Δ
E2E 64.84% <100.00%> (+0.03%) ⬆️
Unit 77.59% <100.00%> (+0.01%) ⬆️

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

Impacted Files Coverage Δ
...rc/Eccube/Form/Type/Admin/ProductClassEditType.php 100.00% <100.00%> (ø)
src/Eccube/Service/Composer/ComposerApiService.php 41.46% <0.00%> (ø)
.../PurchaseFlow/Processor/TaxRateChangeValidator.php 100.00% <0.00%> (ø)
src/Eccube/Entity/Order.php 92.20% <0.00%> (+0.04%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@chihiro-adachi chihiro-adachi added this to the 4.2.0 milestone Sep 1, 2022
@@ -84,6 +84,11 @@ public function buildForm(FormBuilderInterface $builder, array $options)
])
->add('code', TextType::class, [
'required' => false,
'constraints' => [
new Assert\Length([
'max' => 255,
Copy link
Contributor

Choose a reason for hiding this comment

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

@nobuhiko
eccube_stext_lenを使っていただけるとありがたいです。

@chihiro-adachi chihiro-adachi added bug:Low Status: fix-me bugbounty2022:pr:entry バグバウンティ2022 バグ登録 PR登録 labels Sep 1, 2022
@nobuhiko
Copy link
Contributor Author

nobuhiko commented Sep 1, 2022

@chihiro-adachi 修正しました

@chihiro-adachi chihiro-adachi added bugbounty2022:pr:testcode バグバウンティ2022 バグ登録 テストコードの記述 bugbounty2022:pr:recognition バグバウンティ2022 バグ登録 PR取込 and removed Status: fix-me labels Sep 1, 2022
@chihiro-adachi chihiro-adachi merged commit 6922f07 into EC-CUBE:4.2 Sep 1, 2022
@chihiro-adachi
Copy link
Contributor

ご対応ありがとうございます!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:Low bugbounty2022:pr:entry バグバウンティ2022 バグ登録 PR登録 bugbounty2022:pr:recognition バグバウンティ2022 バグ登録 PR取込 bugbounty2022:pr:testcode バグバウンティ2022 バグ登録 テストコードの記述
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants