EC-CUBE / EC-CUBE/ec-cube

支払方法設定画面の画像アップロードで1度エラーメッセージが出ると消えない

Open
#6,588 2 comments 0 reactions 0 assignees View on GitHub
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)

店舗設定→支払方法の設定画面で、画像以外のファイルをアップロードするなど何らかの方法でてエラーを起こす
その後正常に画像をアップロードする

Image

### 環境(Environment)

4系

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.