Bug Description
When renaming a file using Basic Memory, the ".md" extension is frequently removed, making the file unrecognizable both in Finder and Obsidian. This forces users to manually add the extension back each time.
Steps To Reproduce
Steps to reproduce the behavior:
- Have Basic Memory installed
- Use the rename/move functionality to rename a markdown file
- The ".md" extension is removed from the filename
- File becomes unrecognizable in Finder and Obsidian
Expected Behavior
When renaming a file, the file extension should be preserved. If renaming "document.md" to "new-document", the result should be "new-document.md".
Actual Behavior
The file extension is removed during the rename operation. Files lose their ".md" extension and become unrecognizable to both the file system (Finder) and Obsidian.
Additionally, when attempting to fix this issue:
- Basic Memory sometimes reports that all files have been modified when many still need fixing
- Files in subfolders are sometimes completely skipped
Environment
- OS: [Unknown - reported by Discord user]
- Python version: [Unknown]
- Basic Memory version: [Unknown]
- Installation method: [Unknown]
- Claude Desktop version (if applicable): [Unknown]
Additional Context
- User has found a workaround by asking Basic Memory to add the extension back, but this process is unreliable
- The issue affects file recognition in both Finder and Obsidian
- Problem extends to batch operations where some files are skipped or incorrectly reported as fixed
Possible Solution
The rename/move functionality should:
- Preserve file extensions by default
- Handle file extensions separately from the filename when processing renames
- Ensure batch operations correctly process all files including those in subfolders
Bug Description
When renaming a file using Basic Memory, the ".md" extension is frequently removed, making the file unrecognizable both in Finder and Obsidian. This forces users to manually add the extension back each time.
Steps To Reproduce
Steps to reproduce the behavior:
Expected Behavior
When renaming a file, the file extension should be preserved. If renaming "document.md" to "new-document", the result should be "new-document.md".
Actual Behavior
The file extension is removed during the rename operation. Files lose their ".md" extension and become unrecognizable to both the file system (Finder) and Obsidian.
Additionally, when attempting to fix this issue:
Environment
Additional Context
Possible Solution
The rename/move functionality should: