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

fix: get directory for current printing file #1607

Merged

Conversation

pedrolamas
Copy link
Member

For a long time now, we force the load of the metadata for the current printing file, and that works fine.

However, the way that the files store works, we store files and folders information on an object with root path as key - and loading the metadata for a file whose folder does not exist on the object would just discard said data!

To fix this, we will now ensure we load the full file parent directory (which will include the metadata for all files) instead of just the metadata for this specific file.

Fixes #1603 and #1606

@pedrolamas pedrolamas added the GH - Bug Something isn't working label Feb 18, 2025
@pedrolamas pedrolamas added this to the 1.32.3 milestone Feb 18, 2025
@pedrolamas pedrolamas merged commit a2db732 into fluidd-core:develop Feb 18, 2025
5 checks passed
@pedrolamas pedrolamas deleted the pedrolamas/fix-current-file-meta branch February 18, 2025 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GH - Bug Something isn't working
Projects
None yet
1 participant