flojon / KoalaContentBundle

A simple Symfony 2 CMS bundle using Mercury Editor
http://jejacks0n.github.com/mercury/
MIT License
10 stars 4 forks source link

Fatal error under Symfony2.1 in LayoutsFormType::getParent() #1

Closed dizda closed 12 years ago

dizda commented 12 years ago

Hi,

I've got this error in Symfony 2.1 (master branch) :

Fatal error: Declaration of Koala\ContentBundle\Type\LayoutsFormType::getParent() must be compatible with Symfony\Component\Form\FormTypeInterface::getParent() in /Users/high/Sites/dizsurf/vendor/koala/content-bundle/Koala/ContentBundle/Type/LayoutsFormType.php on line 31

This bundle looks like to be cool :)

flojon commented 12 years ago

Hey,

I made a patch for Symfony 2.1, so try to update to latest.

Note that I am working on switching this to use PHPCR and other bundles from the Symfony CMF project.

dizda commented 12 years ago

Oh ok thanks, I'll try :)

Ok, but why switching to PHPCR ? What about MongoDB ODM ?

flojon commented 12 years ago

I want to use some of the bundles from the Symfony CMF project. And as I worked with PHPCR-ODM I have started to like it. But I'm open to splitting the package into a Mercury part and a ORM/ODM part...

dizda commented 12 years ago

Ok :-)

flojon commented 12 years ago

I've decided to wait with PHPCR, there's not much documentation available... Instead I managed to adapt the routing component from Symfony CMF for the ORM. Which make it possible to have routes in the database. Very neat. :)

flojon commented 12 years ago

Also I've dropped support for Symfony 2.0...

dizda commented 12 years ago

Sounds great!! :-))