PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding
Deleting non-empty folder results in bug
オープン
まだ誰も着手していません。
bug
- 主要言語
- Lua
- スター
- 5.4k
- フォーク
- 2.4k
- 平均マージ
- 1日 12時間
- マージ済み PR(30日)
- 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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
レポートではファイルもテストも指定されていません。まずデスクトップアプリでフォルダーのワークフローを再現し、その後、フォルダーとビルドの削除を処理しているコードを見つけてください。空でないフォルダーの削除が意図した動作に従い、空にしたフォルダーを削除しても権限エラーが報告されず、アプリの再起動も必要なければ完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- lua
- 領域
- desktop
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 38/100