Skip to content


DDC-225: ConvertMappingTask invalid method _getSourceByType($type, $source) #2949

doctrinebot opened this Issue · 3 comments

2 participants


Jira issue originally created by user cloun:

The method _getSourceByType($type, $source) in the class ConvertMappingTask has a little error: there are no brackets when propery getConfiguration are called. See code below, the error occurs on line marked with red:

private function _getSourceByType($type, $source)
// If --from==database then the source is an instance of SchemaManager
// for the current EntityMAnager
if ($type == 'database') {
{color:red}$em = $this->getConfiguration->getAttribute('em');{color}
return $em->getConnection()->getSchemaManager();
} else {
return $source;


Comment created by @guilhermeblanco:

In r6981 this issue was fixed. Thanks for the report!


Issue was closed with resolution "Fixed"


Comment created by cloun:

Thanks for fix =)

@jwage jwage was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.0-ALPHA4 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.