Skip to content


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

doctrinebot opened this Issue · 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
@doctrinebot doctrinebot added this to the 2.0.1 milestone
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.