A copy the browser refuses shows "Unknown error" and is logged as critical
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start with ClientExceptionHandlerBase, which turns a clipboard refusal from Butil's Clipboard.WriteText into the generic unknown-error dialog and a Critical log entry. The copy call sites are the two-factor key and recovery codes on Settings, the diagnostic modal and report, Operations, and the landing page share button. Done when a refused copy shows a message asking the user to select the text manually and is not logged as critical, and the behaviour is unchanged in Development.
由索引模型根据 Issue 内容生成。
描述
The template's copy buttons call Butil's Clipboard.WriteText and let a failure reach WrapHandled: the two-factor key and the recovery codes on the Settings page, the diagnostic modal and report, the Operations page, and the landing page's share button and copied texts. A browser may refuse a clipboard write, for example in an embedded web view, on a page that isn't a secure context, or in a frame without the clipboard-write permission. ClientExceptionHandlerBase then treats the refusal as an unexpected error: outside Development the user gets a dialog saying an unknown error happened, and the log gets a Critical entry for what is the browser's choice rather than a defect.
A refused copy should tell the user the text couldn't be copied, so they can select it themselves, and shouldn't be logged as critical.
- 主要语言
- C#
- 星标
- 1.4k
- 派生
- 264
- 平均合并
- 7 小时 38 分钟
- 30 天内合并 PR
- 544
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
bitfoundation/bitplatform 的其他 Issue
-
BitVariantVariablesBrowserTests fails on the scrolled variables of BitHeader可能已有人在做 @yasmoradi 今天认领。 未关闭area / BlazorUI
难度 2/5 1-3 小时 新手友好度 75/100
bitfoundation/bitplatform#15485 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
bitfoundation/bitplatform#15051 ·
维护者通常 1 天内回复
-
Prerelease `v-11.0.0-pre-25`可能已有人在做 @yasmoradi 今天认领。 未关闭prerelease
bitfoundation/bitplatform#15482 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Project dependencies are outdated可能已有人在做 @yasmoradi 今天认领。 未关闭dependencies
难度 3/5 1-2 天 新手友好度 25/100
bitfoundation/bitplatform#15480 ·
维护者通常 1 天内回复
-
Bswup's AlwaysPrerender mode doesn't open the cached app when the server is down可能已有人在做 @msynk 今天认领。 未关闭area / bswup
bitfoundation/bitplatform#15479 · 已指派 1 人 ·
维护者通常 1 天内回复
查看 bitfoundation/bitplatform 的全部 Issue
相似的 Issue
-
chore interpreter small
难度 2/5 1-3 小时 新手友好度 73/100
hexide-io/HexIDE#5718 · 4 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 68/100
PCL-Community/PCL-CE#3907 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
-
chore
难度 1/5 1-3 小时 新手友好度 88/100
lugassawan/swe-workbench#841 ·
-
aikido high security
难度 1/5 1 小时以内 新手友好度 66/100
dequelabs/axe-core-nuget#312 ·