Bug #31212

incorrect parse method doctrine yaml driver

Added by Jordy de Jong over 2 years ago. Updated almost 2 years ago.

Status:Rejected Start date:2011-10-24
Priority:Should have Due date:
Assignee:Karsten Dambekalns % Done:

0%

Category:-
Target version:-
Votes: 0

Description

Doctrine/Classes/ORM/Mapping/Driver/YamlDriver.php contains the following code:

\Symfony\Component\Yaml\Yaml::parse($file);

the Symfony YAML parser doesn't have a "parse" method, but a "load" method


Related issues

related to Symfony.Component.Yaml - Bug #31289: Yaml component is outdated Resolved 2011-10-25

History

Updated by Karsten Dambekalns over 2 years ago

  • Project changed from TYPO3 Flow Base Distribution to Doctrine 2
  • Status changed from New to Needs Feedback
  • Assignee set to Karsten Dambekalns

Under what circumstances does this lead to an error for you? Out of the box we are not using the YAML driver of Doctrine 2 at all...

Updated by Jordy de Jong over 2 years ago

Karsten Dambekalns wrote:

Under what circumstances does this lead to an error for you? Out of the box we are not using the YAML driver of Doctrine 2 at all...

I'm using the Generic Persistence with my own backend, in which (in certain circumstances) I manually call Doctrine and the Yaml Driver

this is probably not a supported way to use FLOW3, but either way this seemed like a (easy to fix) bug, in my opinion

you can close this if you don't agree, of course

Updated by Karsten Dambekalns over 2 years ago

  • Category set to 1042
  • Status changed from Needs Feedback to On Hold

Thanks Jordy, your usecase is fine, I was just wondering. :)

Please keep an eye on http://www.doctrine-project.org/jira/browse/DDC-1453 which I created.

Updated by Karsten Dambekalns over 2 years ago

  • Status changed from On Hold to Rejected

We are in fact using an outdated version of the Yaml parser.

Updated by Karsten Dambekalns almost 2 years ago

  • Project changed from Doctrine 2 to Doctrine.ORM
  • Category deleted (1042)

Also available in: Atom PDF