PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding
Deleting non-empty folder results in bug
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Lua
- Star
- 5.4k
- Fork
- 2.4k
- Merge trung bình
- 1 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 26
Mô tả
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


Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Báo cáo không nêu tên tệp hay test nào. Trước tiên, hãy tái hiện workflow của folder trong ứng dụng desktop, sau đó tìm code xử lý việc xóa folder và build. Hoàn thành khi việc xóa một folder không rỗng tuân theo hành vi dự kiến, và việc xóa folder đã được làm rỗng không báo lỗi quyền hoặc yêu cầu khởi động lại ứng dụng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- lua
- Lĩnh vực
- desktop
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 38/100