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

カテゴリ編集フォームでエラーがあっても気づかない #5350

Merged
merged 1 commit into from
Apr 20, 2022

Conversation

watarukashii
Copy link
Contributor

@watarukashii watarukashii commented Apr 8, 2022

概要(Overview・Refs Issue)

#5346 カテゴリ名の文字数オーバーでのエラー表示

方針(Policy)

Twigファイルのみの修正とし、class の付替えを行う。

実装に関する補足(Appendix)

テスト(Test)

相談(Discussion)

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

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

レビュワー確認項目

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

@chihiro-adachi chihiro-adachi added this to the 4.1.x milestone Apr 13, 2022
@dk-umebius
Copy link
Contributor

dk-umebius commented Apr 20, 2022

@watarukashii @chihiro-adachi
forms[Category.id].nameだけでなく、プラグインでの追加項目がエラーになる場合も同様の問題が起きるため、そちらもご考慮いただきたいです。
どちらかと言うとカテゴリ名256文字以上よりそちらの方が現実的に発生する気がします。

@chihiro-adachi chihiro-adachi modified the milestones: 4.1.x, 4.1.3 Apr 20, 2022
@chihiro-adachi chihiro-adachi changed the title カテゴリ編集フォームでエラーがあっても気づかない #5346 カテゴリ編集フォームでエラーがあっても気づかない Apr 20, 2022
@chihiro-adachi chihiro-adachi merged commit f527490 into EC-CUBE:4.1 Apr 20, 2022
@chihiro-adachi
Copy link
Contributor

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

@chihiro-adachi
Copy link
Contributor

@dk-umebius
すみません、コメント見落としてました。
#5350 (comment)

カテゴリ名に関しては修正されているように見受けられるので、いったんPR自体は取り込み、Issueは残しておこうと思います。
修正自体に問題があるようでしたらご指摘ください。

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.

4 participants