Creating new Entity with uppercase letter in the middle of entity name causes errors

When attempting to create a new hierarchy Entity with the name “PrintCatalog” errors occur when creating the database structure. The system creates a database table named “print_category_hierarchy”, but the frontend code appears to be looking for a table named “printcategory_hierarchy”.

Database tables:

Front-end error:

Removing the second uppercase character in the Entity name appears to resolve the issue. ie. Changing “PrintCatalog” to “Printcatalog”.

Quite strange. All uppercases should mutate into underscore. Our QA department will check it.