title: Migrating from Symfony 2.1 to 2.5, choice fields not working
body: <p>I'm updating a Symfony 2.1 project to 2.5, and noticed the country and foreign entity dropdowns are empty. </p>
  
  <p>This is the form:
      
  
  <pre><code>namespace KF\UserBundle\Form\Type;
  
  use Symfony\Component\Form\AbstractType;
  use Symfony\Component\Form\FormBuilderInterface;
  
  class RegistrationType extends AbstractType
  {
      public function buildForm(FormBuilderInterface $builder, array $options)
      {
          $builder
              -&gt;add('firstName', null, array('required' =&gt; true))
              -&gt;add('lastName', null, array('required' =&gt; true))
              -&gt;add('email', 'email', array('required' =&gt; true))
              -&gt;add('telephone', null, array('required' =&gt; false))
              -&gt;add('country', 'country', array(
                          'required' =&gt; true,
                          'property_path' =&gt; 'addressHome.country',
                          'empty_value' =&gt; 'user.registration_form.select_country',
                          'empty_data' =&gt; null
                  ))
              -&gt;add('agency', 'entity', array(
                          'class' =&gt; 'KFEEEPBundle:Agency',
                          'property' =&gt; 'name',
                          'empty_value' =&gt; 'user.registration_form.select_agency',
                          'empty_data' =&gt; null,
                          'required' =&gt; true))
              -&gt;add('motivation', 'textarea', array('attr' =&gt; array('cols' =&gt; 50, 'rows' =&gt; 8), 'required' =&gt; false))
          ;
      }
  
      public function getName()
      {
          return 'kf_userbundle_accountdetailstype';
  
      }
  }
  </code></pre>
  
  <p>Country is a native Symfony form type, and should just work..the 'agency' class is found and the DB contains records, yet is also empty.</p>
  
  <p>Any ideas?</p>