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

Closed
doctrinebot opened this Issue Dec 23, 2009 · 3 comments

2 participants

@doctrinebot

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;
}
}

@doctrinebot

Comment created by @guilhermeblanco:

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

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot

Comment created by cloun:

Thanks for fix =)

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