[MODM-96] YamlDriver Symfony Components Namespace Issue Created: 25/Nov/10  Updated: 20/Dec/10  Resolved: 20/Dec/10

Status: Closed
Project: Doctrine MongoDB ODM
Component/s: Mapping Drivers
Affects Version/s: 1.0.0BETA2
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Nashad Alam Assignee: Jonathan H. Wage
Resolution: Invalid Votes: 0
Labels: None

Ubunuto, Zend Server, MongoDB 1.6.3


In the YamlDriver.php the namespace is incorrect I pressume. It should be \Symfony\Components\Yaml\Yaml. Its missing a 's' in Component

Current in Master :
protected function loadMappingFile($file)
return \Symfony\Component\Yaml\Yaml::load($file);

Desired Outcome
protected function loadMappingFile($file)
return \Symfony\Components\Yaml\Yaml::load($file);

Comment by Jonathan H. Wage [ 20/Dec/10 ]

Hi, no they renamed it to Component. No "s". Do you have an old version of the YAML component maybe?

Generated at Tue Oct 13 19:19:25 EDT 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.