DDC-928: Using uninitialised variable in lib/Doctrine/ORM/Tools/ConvertDoctrine1Schema.php #5457

doctrinebot opened this Issue Dec 13, 2010 · 2 comments

2 participants


Jira issue originally created by user teuzz:

A call:


is performed a line above the definition of the $definition variable.

Fix: Switch those two lines:

// $metadata->setSequenceGeneratorDefinition($definition); //was here
$definition = array(
'sequenceName' => is_array($column['sequence']) ? $column['sequence']['name']:$column['sequence']
$metadata->setSequenceGeneratorDefinition($definition); //belongs here

On line 191 in RC2 release.


Comment created by @beberlei:



Issue was closed with resolution "Fixed"

@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot added this to the 2.0.1 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment