cvisionai / tator

Video analytics web platform
https://tator.io
GNU Affero General Public License v3.0
98 stars 32 forks source link

Allow sections with null path and "." in the name to be a top-level parent folder #1731

Closed marktaipan-cvisionai closed 1 week ago

marktaipan-cvisionai commented 2 weeks ago

Category Bugfix

Problem There are edge cases where the section path is not filled out but there is a "." in the name. This causes the UI to have an error since it'll take the name and use it as the path directly, and subsequently think it's a subfolder if there's a ".".

Request If a section does not have a path, clean the name (specifically replace "." with "_") and use that as the path, allowing these cases to not cause an error in the UI.