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
(Please fill in the actual values from your environment)
Key
Value
Comments
PHP version:
8.2.11
Contao version:
4.13.34
DC_General version:
Installation via composer:
yes
Issue description
When trying to copy an existing MetaModel, an error message appears: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'tableName' cannot be null
Steps to reproduce
Open MetaModels in Backend
Click on Edit multiple
Select MM-element to copy and klick on copy
Insert with the insert Icon
Describe the behaviour of the application
An error is shown and the copy can not be created.
Logfile Output
[2023-11-17T21:01:14.887952+01:00] request.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\NotNullConstraintViolationException: "An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'tableName' cannot be null" at .....contao/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php line 114 {"exception":"[object] (Doctrine\\DBAL\\Exception\\NotNullConstraintViolationException(code: 1048): An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'tableName' cannot be null at ...../contao/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:114)\n[previous exception] [object] (Doctrine\\DBAL\\Driver\\PDO\\Exception(code: 1048): SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'tableName' cannot be null at ...../contao/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28)\n[previous exception] [object] (PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'tableName' cannot be null at ....../contao/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:130)"} []
The text was updated successfully, but these errors were encountered:
we should hide the button for copying at this point - in my opinion it makes little sense to copy one or more models here, especially since deep copy does not work here either
Checklist before I submit this issue report
I confirm that:
My environment is:
(Please fill in the actual values from your environment)
Issue description
When trying to copy an existing MetaModel, an error message appears: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'tableName' cannot be null
Steps to reproduce
Describe the behaviour of the application
An error is shown and the copy can not be created.
Logfile Output
The text was updated successfully, but these errors were encountered: