manyfold3d / manyfold

A self-hosted digital asset manager for 3d print files.
https://manyfold.app
MIT License
683 stars 44 forks source link

Last letter in Model name gets changed to lower case letter #2381

Open smwoodward opened 1 month ago

smwoodward commented 1 month ago

Describe the bug I entered the name of the model as Death Star II, and it gets changed to Death Star Ii

smwoodward commented 1 month ago

I'm not sure exactly when it gets changed, as I just went in again and changed it. However, with that said, when I clicked Scan, one of the 2 entries were changed from II to Ii. I'm not sure if this is exactly what caused it or not yet. If I find out any more information about this, I will update this issue.

Floppy commented 1 month ago

Thanks! That makes sense on initial scan, as it's doing a fairly naïve titleize of the directory name; but, it shouldn't be changing after you correct it. I'll see if I can find some better titleize code that handles things like that better, and I'll check the logic around rescanning to make sure it's not overwriting a title that's already there. 👍🏻