[common] Name sanitization uses lower() which may lead to unpredictable results
For some reason, our implementation of the name sanitization is not consistent. Currently, a function named sanitize_name()
at (common/models.py)[beat/web/common/models.py] line 364 is somehow been called from the admin interface, but not from the user main GUI on the platform.
So, if an admin changes something on an object, its name is lower-cased and this leads to inconsistencies with the displayed object.
The admin interface should not lower the case of a valid name
by default, so I think that using lower()
on that line should be gone.
Can you confirm?