-
-
Notifications
You must be signed in to change notification settings - Fork 219
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
Deleted file still shown in File List #164
Comments
Oh that's actually quite intereseting. I never bothered to look at the full path for a deleted file and was just wondering why they don't show up. If they always include the trashe~ prefix it will be very easy to exclude them. Thanks for the tip! |
It also looks like the filenames all end with ~1 (potentially ~n) which should also be an easy regex filter |
Coming back to this. I just tried it on my system and I can't reproduce this issue, at least not in your way. If i delete a file via the UI it will still be shown in OctoDash, that's due to the fact that the API doesn't get updated though. As you can see in the screenshot the path doesn't change to Screenshot of a file that was deleted: Also I can't seem to find the trashe folder on my system. Is this maybe something that gets added by the plugin you mentioned? At least on my system there is no trace of a trashe folder: |
I just found this regarding the trash folder: OctoPrint/OctoPrint#1406. Are the files you are mentioning on the SD Card by any chance? |
Closing this in favour of #400 and OctoPrint/OctoPrint#3446 |
Deleted Files are still being returned by the API and therefore shown in the UI. Confirmed with Postman, as deleted file is included in file list. File is gone in Octoprint UI File List immediately.
The text was updated successfully, but these errors were encountered: