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

文件删除bug #94

Closed
Tangerg opened this issue Mar 11, 2021 · 4 comments
Closed

文件删除bug #94

Tangerg opened this issue Mar 11, 2021 · 4 comments
Milestone

Comments

@Tangerg
Copy link

Tangerg commented Mar 11, 2021

文件夹删除有bug
先删除子文件夹,然后删除他的父文件夹,然后恢复先前删除的子文件夹,这个时候在所有文件里看不到刚刚恢复的子文件夹,只有恢复了被删除的父文件夹才会显示出来

@saltbo
Copy link
Owner

saltbo commented Mar 11, 2021

🤣 确实存在这个问题。不过,我也没想好咋解决,回头我去测下某度网盘是怎么处理的。可能在恢复子文件夹的时候报错吧

@Tangerg
Copy link
Author

Tangerg commented Mar 12, 2021

🤣 确实存在这个问题。不过,我也没想好咋解决,回头我去测下某度网盘是怎么处理的。可能在恢复子文件夹的时候报错吧

直接在恢复的时候判断父级文件夹是否存在啊,存在就放回去,不存在就直接丢到根目录去,我看了源码的,没有这部分逻辑

@saltbo
Copy link
Owner

saltbo commented Mar 12, 2021

嗯 我昨天试了下 nextcloud是你说的这个处理逻辑 某度网盘是新创建了一个父目录 然后恢复父目录的时候又提示了下是否覆盖

@saltbo saltbo added this to the Unplanned milestone Jul 8, 2021
@saltbo saltbo modified the milestones: Unplanned, v1.9 Jan 8, 2022
@saltbo
Copy link
Owner

saltbo commented Jul 29, 2023

#184

先加上了检查逻辑,父目录如果不存在会报错。

@saltbo saltbo modified the milestones: v1.9, v1.7 Jul 29, 2023
@saltbo saltbo closed this as completed Jul 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants