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

ファイル管理で名前の重複するディレクトリを作ろうとした時にエラーメッセージを出す #4889

Merged
merged 1 commit into from Feb 17, 2021

Conversation

yshirai-joolen
Copy link
Contributor

@yshirai-joolen yshirai-joolen commented Jan 28, 2021

概要(Overview・Refs Issue)

ファイル管理で重複するディレクトリを作ろうとした時にエラーメッセージを出すようにしました
#4758

方針(Policy)

ディレクトリを作る前に同じ名前のファイル・ディレクトリの存在をチェックします。

テスト(Test)

同じ名前で二回ディレクトリを作成し、画面内にp.errormsgの要素が存在することを調べるテストを追加しました。

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

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

レビュワー確認項目

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

@yshirai-joolen
Copy link
Contributor Author

E2Eテストでなんか失敗しているようなのですが、これはどう見たらいいんでしょうか……

@chihiro-adachi chihiro-adachi added the improvement 機能改善 label Feb 9, 2021
@chihiro-adachi chihiro-adachi added this to the 4.0.6 milestone Feb 9, 2021
@okazy okazy self-assigned this Feb 9, 2021
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.

ありがとうございます!
動作確認して問題ありませんでした。
テストの追加もありがとうございます。
修正内容、テストも問題ありません。

image

@okazy
Copy link
Contributor

okazy commented Feb 16, 2021

@yshirai-joolen
返信が遅くなりました 🙏
落ちたテストの内容は Details をクリックしていただいて下の方にスクロールしていくと確認できます。
落ちているテストは本プルリクの変更内容とは無関係の箇所でしたのでこのまま取り込みをさせていただきます。

ちなみに落ちているテストは #4921 で解決見込みです。

@okazy okazy merged commit a97461b into EC-CUBE:4.0 Feb 17, 2021
@okazy
Copy link
Contributor

okazy commented Feb 17, 2021

マージしました。ご対応ありがとうございました!

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.

None yet

3 participants