01-19-2017, 07:55 PM
I have used the "path correction" utility a few times already because of Marshmallow updates and syncing the database to another device. Mostly it works fine and is a big help.
But I just noticed a few instances it messes with my database.
First it's case sensitive. I think it should be case insensitive. For some reason I don't know anymore a filename had changed from capital letters to small ones and MSP wasn't able to find and adjust the path, neither automatic nor manually.
The other one is sneaky. I had a couple of instances where the wrong file was adjusted because of the same file name. I have several files with the same name albeit in different directories. My guess is your utility just looks for the first occurrence and replaces the path for that. Could you implement another check if the directory is the same before you adjust the path for it and search further for a hit if it isn't? (Won't help me for wrong associations I have now in my database but would be nice for the future).
But I just noticed a few instances it messes with my database.
First it's case sensitive. I think it should be case insensitive. For some reason I don't know anymore a filename had changed from capital letters to small ones and MSP wasn't able to find and adjust the path, neither automatic nor manually.
The other one is sneaky. I had a couple of instances where the wrong file was adjusted because of the same file name. I have several files with the same name albeit in different directories. My guess is your utility just looks for the first occurrence and replaces the path for that. Could you implement another check if the directory is the same before you adjust the path for it and search further for a hit if it isn't? (Won't help me for wrong associations I have now in my database but would be nice for the future).