-
Notifications
You must be signed in to change notification settings - Fork 690
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
v0.26.5 template mapping #1427
Comments
hi @stevenp012 thanks for reporting the issue. @pderaaij could you please also take a look? 🙏 |
I am also having the exact same issue and wanted to add the steps and screenshots that I took. Steps to reproduce the issue
ScreenshotsError I am receivingPath provided for template (again working before the update)Workspace and user settingsOperating System VersionWindows 11 Visual Studio Code Version1.97.2 Additional ContextThe exact steps mentioned above worked fine until the foam extension auto updated itself to v0.26.5. I repeated the steps for the default foam templates without hardcoded file paths in the header and they seem to work no problem. You can see what @stevenp012 is referring too in the error screenshot, showing the mkdir command not working as expected and not using the correct path as expected. Any help is appreciated! Thanks! |
Thanks, a few questions, does it happen with a relative path? |
I also have the same issue as above. I am using absolute path to the foam template and now when I try to create any file from template there is an additional "C" at the end of the path, just like the example above. When I modified my template to use relative pathing the problem goes away. |
@riccardoferretti - The change from absolute path to relative path in the YAML front-matter of the template works, and the daily note can now be created with the command palette function. Re: using |
As a side note, I would recommend always using relative paths. |
Describe the bug
Latest update broke template mapping. When creating any note from template (including daily note template) it would try to open 'c:' and then whatever the filepath was and then 'C:' at the end. Reverting to the previous version fixed the issue.
Small Reproducible Example
No response
Steps to Reproduce the Bug or Issue
Expected behavior
As a user I expected it to create my daily note from my template.
Screenshots or Videos
No response
Operating System Version
Windows 10
Visual Studio Code Version
1.97.2
Additional context
No response
The text was updated successfully, but these errors were encountered: