PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

Deleting non-empty folder results in bug

オープン
#3,754 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

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
  1. Create a new folder
  2. Create and save any build inside folder
  3. Try to delete folder
  4. Get The folder is not empty message.
  5. Delete build from folder
  6. Try to delete empty folder
  7. Get Couldn't delete $PATH: Permission Denied error.
  8. Restart PoB
  9. Folder is indeed deleted
Build code
Any build (even empty).
Screenshots

image

image

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

レポートではファイルもテストも指定されていません。まずデスクトップアプリでフォルダーのワークフローを再現し、その後、フォルダーとビルドの削除を処理しているコードを見つけてください。空でないフォルダーの削除が意図した動作に従い、空にしたフォルダーを削除しても権限エラーが報告されず、アプリの再起動も必要なければ完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
lua
領域
desktop
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
38/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。