mulifs icon indicating copy to clipboard operation
mulifs copied to clipboard

Untitled Folder problem in OSX

Open dankomiocevic opened this issue 9 years ago • 0 comments

When working in a Finder Window and try to create a new directory it is labeled "untitled folder", the problem is that it gets converted to "untitled_folder". When it tries to create another new directory it will check that "untitled folder" does not exist, which is true, but it will get converted to "untitled_folder" what does exist and will end up in an error and the folder wont be created.

The solution for this is to add a number to the directory as Finder would do it and keep adding to that number until it does not match with any directory already created.

This patch should be added to store/objectmanager.go on line 511 on func CreateArtist:

if createError == bolt.ErrBucketExists {

where it tries to create a bucket and fails because it is already there. It also happens with line 562 on func CreateAlbum.

I think it would be important to check that the SO is OSX since this may not be a problem in other OSes but I need to try that.

dankomiocevic avatar Mar 13 '16 19:03 dankomiocevic