Burgov / KeyValueFormBundle

A form type for managing key-value pairs
MIT License
44 stars 32 forks source link

Update README.md #21

Closed carlos-granados closed 8 years ago

carlos-granados commented 8 years ago

Explain that you need to use branch 1.2.0 for Symfony 2. I spent a long time debugging this bundle until I realized this

Burgov commented 8 years ago

hmm... shouldn't it actually just work in Symfony 2 @WouterJ ?

wouterj commented 8 years ago

Yes, I would like to know the error/problem when using this bundle in a 2.x application. afaik, there shouldn't be any problem.

carlos-granados commented 8 years ago

If I use any version higher than 1.2.0 I get a "The required option "value_type" is missing." error even though this option is there. Not really sure why, I guess it has to do with the changes you did to adapt it for Symfony 3

wouterj commented 8 years ago

@carlos-granados are you sure you use the latest 2.8 version? Seems like a bug that was fixed in Symfony 2.8.2.

carlos-granados commented 8 years ago

We are currently on Symfony 2.8.1, so that is probably the issue. I'll close this

Burgov commented 8 years ago

The composer.json contains a line that says it conflicts with symfony-forms 2.8.1, but apparently that's not doing anything then? @WouterJ @seldaek any idea?

wouterj commented 8 years ago

@Burgov probably, an older version is simply installed.