mathesar-foundation / mathesar

Web application providing an intuitive user experience to databases.
https://mathesar.org/
GNU General Public License v3.0
2.29k stars 317 forks source link

Table name validation not working when extracting a column #3498

Open ghislaineguerin opened 3 months ago

ghislaineguerin commented 3 months ago

Description

There's an issue with table name validation when creating them via "Extract Columns to Table".

When the table is created from scratch it will show a warning in the table creation form. However that warning is not showing here and it generates an error on save:

image

Once the invalid name table is saved the entire schema can't be accessed:

image

Expected behavior

Mathesar should prevent errors in table creation by warning about invalid characters.

To Reproduce

Go to Mathesar:

kgodey commented 3 months ago

This should be handled by the backend refactor, we'll double check before the beta is out.