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

Article Title should not exceed windows maximum file name #160

Open
2 of 7 tasks
Nitero opened this issue Aug 12, 2024 · 0 comments · May be fixed by #162
Open
2 of 7 tasks

Article Title should not exceed windows maximum file name #160

Nitero opened this issue Aug 12, 2024 · 0 comments · May be fixed by #162
Labels
type: bug Something isn't working

Comments

@Nitero
Copy link
Contributor

Nitero commented Aug 12, 2024

Please check that this issue hasn't been reported before.

  • I searched previous Bug Reports didn't find any similar reports.

Expected Behavior

I just tried to make a backup of my vault but got the following git error: fatal: Unable to process path
Looks like the issue is that using the %title% variable for a will save even if the path exceeds what windows will allow?

Current behaviour

Notes with a title that exceed the windows character limit save but pose issues for git and potentially other things, for example when I tried renaming the file I suddenly had two versions in my vault

Steps to reproduce

  1. Make your readable article note template title this: %title% (Readable Article)
  2. Try to save this article
  3. Go to the created file in the windows explorer and try renaming it, which will be difficulty without first trimming it

Which Operating Systems are you using?

  • Android
  • iPhone/iPad
  • Linux
  • macOS
  • Windows

Obsidian Version

1.6.7

Plugin Version

0.5.0

Checks

  • I have tried it with all other plugins disabled and the error still occurs

Possible solution

I'd be fine if the title was just cut off to always fit the limit

@Nitero Nitero added the type: bug Something isn't working label Aug 12, 2024
@Nitero Nitero linked a pull request Aug 15, 2024 that will close this issue
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant