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

Closed
opened 2026-01-22 12:33:24 +01:00 by admin · 3 comments
Owner

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

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; } }
admin added the Bug label 2026-01-22 12:33:24 +01:00
admin closed this issue 2026-01-22 12:33:26 +01:00
Author
Owner

@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): Comment created by @guilhermeblanco: In r6981 this issue was fixed. Thanks for the report!
Author
Owner

@doctrinebot commented on GitHub (Dec 26, 2009):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Dec 26, 2009): Issue was closed with resolution "Fixed"
Author
Owner

@doctrinebot commented on GitHub (Dec 27, 2009):

Comment created by cloun:

Thanks for fix =)

@doctrinebot commented on GitHub (Dec 27, 2009): Comment created by cloun: Thanks for fix =)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#280