Upload File - Clicking 'Retry' uploads wrong file

Đang mở
#4,635 9 bình luận 0 reaction 1 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

Bot Services bug customer-replied-to customer-reported
Is it an issue related to Adaptive Cards?

No

Is this an accessibility issue?

No

What version of Web Chat are you using?

Latest production

Which distribution are you using Web Chat from?

NPM

Which hosting environment does this issue primarily affect?

Web apps

Which browsers and platforms do the issue happened?

Browser: Edge (latest), Browser: Chrome (latest), Browser: Firefox (latest), Browser: Safari (latest)

Which area does this issue affect?

Send box

What is the public URL for the website?

No response

Please describe the bug

When file upload fails there is an option to retry, clicking retry succeeds but the file that is sent is not the file that was trying to be uploaded.

Do you see any errors in console log?
No
How to reproduce the issue?
  1. Click on the paper clip and upload a file, make sure the file is > than 4MB (you need the the upload to fail)
    The UI will show the file name and size, but because the file is > 4MB the upload will fail (this is fine) the UI will display a Send failed: Retry
  2. Click the Retry button

It will look like the file upload has now completed successfully but this is not true, the file that was uploaded it not the one selected in fact it will be the root web sites html file. This gives a false positive to the user and is very confusing.

What do you expect?

The correct file be upload, appreciate in this scenario the file is too large, which is fine, so perhaps an error message stating the file is to large and remove the ability to retry.

What actually happened?

the wrong file is uploaded

Do you have any screenshots or recordings to repro the issue?

No response

Adaptive Card JSON

No response

Additional context

No response

Ngôn ngữ chính
HTML
Star
1.8k
Fork
1.6k
Merge trung bình
22 giờ 58 phút
Pull request đã merge (30 ngày)
2

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoft/BotFramework-WebChat

Tất cả issue của microsoft/BotFramework-WebChat

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.