TYPO3 Flow Base DistributionPackagesApplications

Bug #31212

incorrect parse method doctrine yaml driver

Added by Jordy de Jong almost 4 years ago. Updated about 3 years ago.

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

0%

Category:-
Target version:-

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

#1 Updated by Karsten Dambekalns almost 4 years ago

  • Project changed from TYPO3 Flow Base Distribution to Doctrine 2
  • Status changed from New to Needs Feedback
  • Assigned To 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...

#2 Updated by Jordy de Jong almost 4 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

#3 Updated by Karsten Dambekalns almost 4 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.

#4 Updated by Karsten Dambekalns almost 4 years ago

  • Status changed from On Hold to Rejected

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

#5 Updated by Karsten Dambekalns about 3 years ago

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

Also available in: Atom PDF