Upload File - Clicking 'Retry' uploads wrong file
还没有人认领这个 Issue。
评估
这个 Issue 还没有评估数据。
描述
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?
- 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 - 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
- 主要语言
- HTML
- 星标
- 1.8k
- 派生
- 1.6k
- 平均合并
- 22 小时 58 分钟
- 30 天内合并 PR
- 2
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/BotFramework-WebChat 的其他 Issue
-
Bot Services bug customer-reported
难度 1/5 1 小时以内 新手友好度 65/100
microsoft/BotFramework-WebChat#5165 ·
-
area-accessibility Bot Services bug customer-reported
难度 3/5 1-2 天 新手友好度 55/100
microsoft/BotFramework-WebChat#5861 ·
-
Bot Services bug customer-reported
难度 3/5 1-2 天 新手友好度 58/100
microsoft/BotFramework-WebChat#5859 ·
-
area-accessibility Bot Services bug customer-reported
难度 4/5 3-5 天 新手友好度 45/100
microsoft/BotFramework-WebChat#5857 ·
-
A11ySev3 A11yWCAG area-accessibility Bot Services BotFrameworkWebChat_Web bug customer-reported
难度 3/5 1-2 天 新手友好度 55/100
microsoft/BotFramework-WebChat#5856 ·