ungdev / EtuUTT

Site étudiant de l'UTT

Home Page:http://etu.utt.fr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Création d'une application

antoineprudhomme5 opened this issue · comments

Dans la section développeurs, impossible de créer une nouvelle application. Une erreur sauvage apparaît lors de la soumission du formulaire de création.

Bug constaté:

[2017-10-23 15:16:57] request.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\NotNullConstraintViolationException: "An exception occurred while executing 'INSERT INTO oauth_clients (clientId, clientSecret, name, deviceUID, device, native, redirectUri, createdAt, deletedAt, user_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params [31239702225, "xxxxxxxxxxxxxxxxxxxxxx", "test", null, null, 0, "http:\/\/test", "2017-10-23 15:16:57", null, 3414]:  SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'deviceUID' cannot be null" at /var/www/EtuUTT/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 112 {"exception":"[object] (Doctrine\\DBAL\\Exception\\NotNullConstraintViolationException(code: 0): An exception occurred while executing 'INSERT INTO oauth_clients (clientId, clientSecret, name, deviceUID, device, native, redirectUri, createdAt, deletedAt, user_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params [31239702225, \"xxxxxxxxxxxxxxxxxxxxxx\", \"test\", null, null, 0, \"http:\\/\\/test\", \"2017-10-23 15:16:57\", null, 3414]:\n\nSQLSTATE[23000]: Integrity constraint violation: 1048 Column 'deviceUID' cannot be null at /var/www/EtuUTT/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:112, Doctrine\\DBAL\\Driver\\PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'deviceUID' cannot be null at /var/www/EtuUTT/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:93, PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'deviceUID' cannot be null at /var/www/EtuUTT/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:91)"} []

Le bug a été créé suite à #89