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
Next exception 'Doctrine\DBAL\DBALException' with message 'An exception occurred while executing 'INSERT INTO vlan (name, number, rcvrfname, private, notes, infrastructureid) VALUES (?, ?, ?, ?, ?, ?)' with params ["Internal", "500", "", "1", "The VLAN is not used anymore", null]:
thomas-mangin
changed the title
ixp manger barfs when the infrastructure is not set when creating VLAN
when creating VLAN ixp manger barfs if the infrastructure is not set
Jul 2, 2014
And sends a useful mail, which allows to click "back", select the infra and submit again :-)
2014-07-02T14:27:35+01:00 ERR (3): ERROR - FAILED: User 1 added a VLAN object with id 0
exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'infrastructureid' cannot be null' in /usr/share/php/Doctrine/DBAL/Statement.php:138
Stack trace:
#0 /usr/share/php/Doctrine/DBAL/Statement.php(138): PDOStatement->execute(NULL)
#1 /usr/share/php/Doctrine/ORM/Persisters/BasicEntityPersister.php(277): Doctrine\DBAL\Statement->execute()
#2 /usr/share/php/Doctrine/ORM/UnitOfWork.php(920): Doctrine\ORM\Persisters\BasicEntityPersister->executeInserts()
#3 /usr/share/php/Doctrine/ORM/UnitOfWork.php(311): Doctrine\ORM\UnitOfWork->executeInserts(Object(Doctrine\ORM\Mapping\ClassMetadata))
#4 /usr/share/php/Doctrine/ORM/EntityManager.php(355): Doctrine\ORM\UnitOfWork->commit(NULL)
#5 /srv/ixp/library/OSS-Framework.git/src/OSS/Controller/Action/Trait/Doctrine2Frontend.php(623): Doctrine\ORM\EntityManager->flush()
#6 /srv/ixp/library/OSS-Framework.git/src/OSS/Controller/Action/Trait/Doctrine2Frontend.php(707): IXP_Controller_Frontend->addProcessForm(Object(IXP_Form_VLAN), Object(Entities\Vlan), false)
#7 /srv/ixp/library/Zend/Controller/Action.php(516): IXP_Controller_Frontend->addAction()
#8 /srv/ixp/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('addAction')
#9 /srv/ixp/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#10 /srv/ixp/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#11 /srv/ixp/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#12 /srv/ixp/public/index.php(85): Zend_Application->run()
#13 {main}
Next exception 'Doctrine\DBAL\DBALException' with message 'An exception occurred while executing 'INSERT INTO vlan (name, number, rcvrfname, private, notes, infrastructureid) VALUES (?, ?, ?, ?, ?, ?)' with params ["Internal", "500", "", "1", "The VLAN is not used anymore", null]:
SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'infrastructureid' cannot be null' in /usr/share/php/Doctrine/DBAL/DBALException.php:47
Stack trace:
#0 /usr/share/php/Doctrine/DBAL/Statement.php(140): Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Object(PDOException), 'INSERT INTO vla...', Array)
#1 /usr/share/php/Doctrine/ORM/Persisters/BasicEntityPersister.php(277): Doctrine\DBAL\Statement->execute()
#2 /usr/share/php/Doctrine/ORM/UnitOfWork.php(920): Doctrine\ORM\Persisters\BasicEntityPersister->executeInserts()
#3 /usr/share/php/Doctrine/ORM/UnitOfWork.php(311): Doctrine\ORM\UnitOfWork->executeInserts(Object(Doctrine\ORM\Mapping\ClassMetadata))
#4 /usr/share/php/Doctrine/ORM/EntityManager.php(355): Doctrine\ORM\UnitOfWork->commit(NULL)
#5 /srv/ixp/library/OSS-Framework.git/src/OSS/Controller/Action/Trait/Doctrine2Frontend.php(623): Doctrine\ORM\EntityManager->flush()
#6 /srv/ixp/library/OSS-Framework.git/src/OSS/Controller/Action/Trait/Doctrine2Frontend.php(707): IXP_Controller_Frontend->addProcessForm(Object(IXP_Form_VLAN), Object(Entities\Vlan), false)
#7 /srv/ixp/library/Zend/Controller/Action.php(516): IXP_Controller_Frontend->addAction()
#8 /srv/ixp/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('addAction')
#9 /srv/ixp/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#10 /srv/ixp/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#11 /srv/ixp/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#12 /srv/ixp/public/index.php(85): Zend_Application->run()
#13 {main}
The text was updated successfully, but these errors were encountered: