PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding
Deleting non-empty folder results in bug
未关闭
还没有人认领这个 Issue。
bug
- 主要语言
- Lua
- 星标
- 5.4k
- 派生
- 2.4k
- 平均合并
- 1 天 12 小时
- 30 天内合并 PR
- 26
描述
Check version
- I'm running the latest version of Path of Building and I've verified this by checking the changelog
Check for duplicates
- I've checked for duplicate issues by using the search function of the issue tracker
What is the expected behaviour/value?
Deleting properly folder
What is the actual behaviour/value?
Trying to delete folder which contains something (there is no possibility to delete non-empty folder) getting error The folder is not empty. After deleting build inside and trying to delete folder (now it is empty) again it gives Couldn't delete $PATH: Permission Denied. After restart PoB folder is gone.
Knowing Windows issues I tried to run PoB as Administrator but nothing changed.
How to reproduce the issue
- Create a new folder
- Create and save any build inside folder
- Try to delete folder
- Get
The folder is not emptymessage. - Delete build from folder
- Try to delete empty folder
- Get
Couldn't delete $PATH: Permission Deniederror. - Restart PoB
- Folder is indeed deleted
Build code
Any build (even empty).
Screenshots


贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
报告中没有提到文件或测试。首先在桌面应用中复现文件夹工作流,然后定位处理文件夹和构建删除的代码。完成的标准是:删除非空文件夹时遵循预期行为,并且删除已清空的文件夹不会报告权限错误,也不需要重启应用。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- lua
- 领域
- desktop
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 38/100