Closed Seefahrer closed 2 years ago
Hi Marko,
upon updating to RC3, the attempt to create a new album leads to following error:
[3/3] NotNullConstraintViolationException Doctrine\DBAL\Exception\NotNullConstraintViolationException: An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'chmod' cannot be null at vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:116 at Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert(object(Exception), object(Query)) (vendor/doctrine/dbal/src/Connection.php:1814) at Doctrine\DBAL\Connection->handleDriverException(object(Exception), object(Query)) (vendor/doctrine/dbal/src/Connection.php:1749) at Doctrine\DBAL\Connection->convertExceptionDuringQuery(object(Exception), 'INSERT INTO tl_gallery_creator_albums (date, cuser, cgroup, chmod, pid, sorting, tstamp) VALUES (?, ?, ?, ?, ?, ?, ?)', array(1653385985, 1, 0, null, 0, 128, 0), array()) (vendor/doctrine/dbal/src/Connection.php:1055) at Doctrine\DBAL\Connection->executeQuery('INSERT INTO tl_gallery_creator_albums (date, cuser, cgroup, chmod, pid, sorting, tstamp) VALUES (?, ?, ?, ?, ?, ?, ?)', array(1653385985, 1, 0, null, 0, 128, 0), array()) (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Database/Statement.php:284) at Contao\Database\Statement->query('', array(1653385985, 1, 0, null, 0, 128, 0)) (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Database/Statement.php:240) at Contao\Database\Statement->execute() (vendor/contao/core-bundle/src/Resources/contao/drivers/DC_Table.php:634) at Contao\DC_Table->create() (vendor/contao/core-bundle/src/Resources/contao/classes/Backend.php:666) at Contao\Backend->getBackendModule('gallery_creator', null) (vendor/contao/core-bundle/src/Resources/contao/controllers/BackendMain.php:168) at Contao\BackendMain->run() (vendor/contao/core-bundle/src/Controller/BackendController.php:49) at Contao\CoreBundle\Controller\BackendController->mainAction() (vendor/symfony/http-kernel/HttpKernel.php:152) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1) (vendor/symfony/http-kernel/HttpKernel.php:74) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true) (vendor/symfony/http-kernel/Kernel.php:202) at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) (public/index.php:44)
Doctrine\DBAL\Exception\NotNullConstraintViolationException: An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'chmod' cannot be null at vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:116 at Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert(object(Exception), object(Query)) (vendor/doctrine/dbal/src/Connection.php:1814) at Doctrine\DBAL\Connection->handleDriverException(object(Exception), object(Query)) (vendor/doctrine/dbal/src/Connection.php:1749) at Doctrine\DBAL\Connection->convertExceptionDuringQuery(object(Exception), 'INSERT INTO tl_gallery_creator_albums (date, cuser, cgroup, chmod, pid, sorting, tstamp) VALUES (?, ?, ?, ?, ?, ?, ?)', array(1653385985, 1, 0, null, 0, 128, 0), array()) (vendor/doctrine/dbal/src/Connection.php:1055) at Doctrine\DBAL\Connection->executeQuery('INSERT INTO tl_gallery_creator_albums (date, cuser, cgroup, chmod, pid, sorting, tstamp) VALUES (?, ?, ?, ?, ?, ?, ?)', array(1653385985, 1, 0, null, 0, 128, 0), array()) (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Database/Statement.php:284) at Contao\Database\Statement->query('', array(1653385985, 1, 0, null, 0, 128, 0)) (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Database/Statement.php:240) at Contao\Database\Statement->execute() (vendor/contao/core-bundle/src/Resources/contao/drivers/DC_Table.php:634) at Contao\DC_Table->create() (vendor/contao/core-bundle/src/Resources/contao/classes/Backend.php:666) at Contao\Backend->getBackendModule('gallery_creator', null) (vendor/contao/core-bundle/src/Resources/contao/controllers/BackendMain.php:168) at Contao\BackendMain->run() (vendor/contao/core-bundle/src/Controller/BackendController.php:49) at Contao\CoreBundle\Controller\BackendController->mainAction() (vendor/symfony/http-kernel/HttpKernel.php:152) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1) (vendor/symfony/http-kernel/HttpKernel.php:74) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true) (vendor/symfony/http-kernel/Kernel.php:202) at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) (public/index.php:44)
date
cuser
cgroup
chmod
pid
sorting
tstamp
Hi Marko,
upon updating to RC3, the attempt to create a new album leads to following error:
(stack trace):