egeloen / IvoryOrderedFormBundle

Provides a form ordering support for your Symfony2 project.
https://github.com/egeloen/ivory-ordered-form
MIT License
49 stars 11 forks source link

Fatal error: Call to undefined method Symfony\Component\Form\FormBuilder::setPosition() #2

Closed grimgit closed 10 years ago

grimgit commented 11 years ago

Hi, i've installed the bundle but it doesn't work.

I've got the following exception:

Fatal error: Call to undefined method Symfony\Component\Form\FormBuilder::setPosition() in .../vendor/egeloen/ordered-form-bundle/Ivory/OrderedFormBundle/Form/Extension/OrderedFormExtension.php on line 30

I'm using Symfony 2.1

egeloen commented 11 years ago

Can you run the php app/console container:debug & give me the current form.resolved_type_factory instance?

egeloen commented 10 years ago

@grimgit I just push a fix on master about button support. Can you check if your issue is related?

binarydepartment commented 10 years ago

I still have the same issue with Symfony 2.2.0

egeloen commented 10 years ago

@grimgit @viciousmind I jus push a fix e42618000adb1113cd5e592d9f03baad779233c8 which should fix both supports (2.1 & 2.2).