mirror of
https://github.com/doctrine/orm.git
synced 2026-04-24 06:58:19 +02:00
DDC-225: ConvertMappingTask invalid method _getSourceByType($type, $source) #280
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Dec 23, 2009).
Originally assigned to: @jwage on GitHub.
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 commented on GitHub (Dec 26, 2009):
Comment created by @guilhermeblanco:
In r6981 this issue was fixed. Thanks for the report!
@doctrinebot commented on GitHub (Dec 26, 2009):
Issue was closed with resolution "Fixed"
@doctrinebot commented on GitHub (Dec 27, 2009):
Comment created by cloun:
Thanks for fix =)