-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
TypeError: Cannot read properties of null (reading 'path') at deduplicateNewName #145
Comments
@trganda I am so sorry but, for me this bug is still happening sometimes! Even after updating to 0.9.14. I don't know if it's an Obsidian bug or problem of the plugin. |
Hi @luckman212, looks like the this.app.vault.getAbstractFileByPath(attachPath) return a null object. I'm not sure why this happen in your case. If you encounter this error again, please check whether the |
Ok trganda, I will try to debug a little closer and keep an eye. I think this is a timing issue, maybe a bug in Obsidian where the Vault cache is not yet updated when the plugin tries to change the text content. |
I notice sometimes that instead of renaming pasted attachments, I get a TypeError. This happens when pasting immediately after editing the note content. Not sure what is causing it.
The text was updated successfully, but these errors were encountered: