You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
View structure of Data Tables with PostgreSQL database.
Actual behavior
Unable to view the structure of Data Tables with an uppercase character in the name with PostgreSQL database.
Steps to reproduce the issue
Deployment with direct installation ("bare-metal")
Environment :
AlmaLinux 8.8
Apache 2.4.37
PHP-FPM 7.4.33
R 4.3.1
PostgreSQL 13.11
Import Concerto starter content
Connect and visit tab "Data Table", "Starter Content"
Edit Data Table with uppercase character (e.g. "translationDictionary", "assessmentItems", ...)
DataTable Structure table is empty
DataTable columnsCollectionAction route return an empty JSON http://<server>/admin/DataTable/<DataTable name>/columns/collection
Edit Data Table without uppercase character (e.g. "users", "sessions", ...)
DataTable Structure table is filled
DataTable columnsCollectionAction route return a filled JSON http://<server>/admin/DataTable/<DataTable name>/columns/collection
The problem come from character case of the DataTable identifier. The getListTableColumnsSQL function in Doctrine PostgreSqlPlatform class is case sensible.
Workaround
Rename existing DataTable or name new DataTable with lowercase characters or snake_case.
The text was updated successfully, but these errors were encountered:
Concerto Platform version
5.0.27
Expected behavior
View structure of Data Tables with PostgreSQL database.
Actual behavior
Unable to view the structure of Data Tables with an uppercase character in the name with PostgreSQL database.
Steps to reproduce the issue
Environment :
Import Concerto starter content
Connect and visit tab "Data Table", "Starter Content"
Edit Data Table with uppercase character (e.g. "translationDictionary", "assessmentItems", ...)
http://<server>/admin/DataTable/<DataTable name>/columns/collection
http://<server>/admin/DataTable/<DataTable name>/columns/collection
The problem come from character case of the DataTable identifier. The
getListTableColumnsSQL
function in DoctrinePostgreSqlPlatform
class is case sensible.Workaround
The text was updated successfully, but these errors were encountered: