DDC-566: Wrong variable name causes conversion from d1 schema to d2 schema to fail #696

Open
opened 2026-01-22 12:47:05 +01:00 by admin · 0 comments
Owner

Originally created by @doctrinebot on GitHub (May 3, 2010).

Originally assigned to: @jwage on GitHub.

Jira issue originally created by user stephan.schulze@kapthon.com:

The file \Doctrine\ORM\Tools\Console\Command\ConvertDoctrine1SchemaCommand.php contains an error in line 137 - 139

$metadata = $converter->getMetadata();

        if ($metadatas) {
            $output->write(PHP_EOL);

You get $metadata but check for $metadatas

Originally created by @doctrinebot on GitHub (May 3, 2010). Originally assigned to: @jwage on GitHub. Jira issue originally created by user stephan.schulze@kapthon.com: The file \Doctrine\ORM\Tools\Console\Command\ConvertDoctrine1SchemaCommand.php contains an error in line 137 - 139 ``` $metadata = $converter->getMetadata(); if ($metadatas) { $output->write(PHP_EOL); ``` You get $metadata but check for $metadata**s**
admin added the Bug label 2026-01-22 12:47:05 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#696