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

Root folder template is triggering twice #1265

Closed
danielo515 opened this issue Dec 9, 2023 · 2 comments
Closed

Root folder template is triggering twice #1265

danielo515 opened this issue Dec 9, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@danielo515
Copy link

danielo515 commented Dec 9, 2023

Plugin information (please complete the following information):

  • OS: [e.g. Windows 10] android
  • Templater version: 1.18.0
  • Obsidian version: 0.15
  • Templater settings: Template folder location: "templates/"

Describe the bug
The root folder template is triggering twice. This was a bug that I think was reintroduced with the latest version.
My root template opens a selector, then when you select one it moves the file to the expected folder and applies the template. This is anflow that worked fine before and it is showcased in the community.
However, it is now triggering the folder template again when the file is moved, which is erasing my current file content

Expected behavior
Not trigger the template for actions of templater moving files

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
#1122

@danielo515 danielo515 added the bug Something isn't working label Dec 9, 2023
@Zachatoo
Copy link
Collaborator

Zachatoo commented Dec 9, 2023

I'm not experiencing this. Maybe this is related to Templater not properly unloading between 1.18.0 and 1.18.2? Restarting Obsidian should resolve that.

https://github.com/SilentVoid13/Templater/blob/master/CHANGELOG.md#1182-2023-12-01

@danielo515
Copy link
Author

@Zachatoo that was indeed the problem. Restarting obsidian fixed it. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants