Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

文章默认编辑器上传文件失败 #7274

Closed
4 tasks done
LIlGG opened this issue Mar 7, 2025 · 0 comments · Fixed by #7275
Closed
4 tasks done

文章默认编辑器上传文件失败 #7274

LIlGG opened this issue Mar 7, 2025 · 0 comments · Fixed by #7275
Assignees
Labels
area/core Issues or PRs related to the Halo Core kind/bug Categorizes issue or PR as related to a bug. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Milestone

Comments

@LIlGG
Copy link
Member

LIlGG commented Mar 7, 2025

前置条件

  • 已经在 issues 列表中搜索了相关问题。
  • 这是 Halo 项目本身存在的问题,如果是非项目本身的问题(如:安装部署问题),建议在 Discussions 提交。
  • 已经尝试过停用所有的插件,排除是插件导致的问题。
  • 如果是插件和主题的问题,请在对应的插件和主题仓库提交。

系统信息

使用的哪种方式运行?

Source Code

发生了什么?

在默认编辑器中,上传文件会出现失败。如下图所示:

Image

这个问题可能与 #7149 的修复有关。文件中通过 file.name() 获取文件名。建议通过 FilePartfilename() 获取文件名。

/area core
/kind bug

复现步骤

No response

相关日志输出

附加信息

No response

@f2c-ci-robot f2c-ci-robot bot added area/core Issues or PRs related to the Halo Core kind/bug Categorizes issue or PR as related to a bug. labels Mar 7, 2025
@LIlGG LIlGG added the priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. label Mar 7, 2025
@LIlGG LIlGG added this to the 2.20.x milestone Mar 7, 2025
@LIlGG LIlGG self-assigned this Mar 7, 2025
@f2c-ci-robot f2c-ci-robot bot closed this as completed in eeb707b Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core Issues or PRs related to the Halo Core kind/bug Categorizes issue or PR as related to a bug. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant