支払方法設定画面の画像アップロードで1度エラーメッセージが出ると消えない
Open
bug
- Dominant language
- PHP
- Stars
- 788
- Forks
- 719
- Avg merge
- 3d 20h
- Merged PRs (30d)
- 45
Description
### 概要(Overview)
画像アップロード時に一度エラーメッセージが出ると、その後正常にアップロードしてもエラーメッセージが消えない
単純なセレクタの間違い
画像アップロード開始時の処理が $('#product_image_error').hide(); となっているが
正しくは、$('#payment_image_error').hide();
### 再現手順(Procedure)
店舗設定→支払方法の設定画面で、画像以外のファイルをアップロードするなど何らかの方法でてエラーを起こす
その後正常に画像をアップロードする
### 環境(Environment)
4系
Contributor guide
Research direction
Start at the payment-method settings image-upload handler and search for the selectors `#product_image_error` and `#payment_image_error`. Reproduce the invalid-file upload followed by a valid image upload, then verify that the payment image error message is hidden after the valid upload.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100