title: symfony2 form error
body: <pre><code>The form's view data is expected to be of type scalar, array or an instance of \ArrayAccess, 
  but is an instance of class Ecs\CrmBundle\Entity\Customer. 
  </code></pre>
  
  <p>Is the error I get in my browser..</p>
  
  <p>FORM CODE:</p>
  
  <pre><code>&lt;?php
  
  namespace Ecs\CrmBundle\Form;
  
  use Symfony\Component\Form\AbstractType;
  use Symfony\Component\Form\FormBuilderInterface;
  
  class CustomerDefaultConfigType extends AbstractType
  {
      public function buildForm(FormBuilderInterface $builder, array $options)
      {
          $builder
              -&gt;add('name')
              -&gt;add('customerStatus')
              -&gt;add('tags', null, array('multiple' =&gt; true, 'property' =&gt; 'tag_name'))
          ;
      }
  
      public function getName()
      {
          return 'ecs_crmbundle_customerdefaultconfigtype';
      }
  }
  </code></pre>
  
  <p>and the controller Action:</p>
  
  <pre><code>&lt;?php
  
  namespace Ecs\CrmBundle\Controller;
  
  use Ecs\CrmBundle\Entity\CustomerDefaultConfig;
  use Ecs\CrmBundle\Form\CustomerDefaultConfigType;
      public function newAction()
          {
              $entity = new CustomerDefaultConfig();
              $form   = $this-&gt;createForm(new CustomerDefaultConfigType(), $entity);
  
              return $this-&gt;render('EcsCrmBundle:CustomerDefaultConfig:new.html.twig', array(
                  'entity' =&gt; $entity,
                  'form'   =&gt; $form-&gt;createView()
              ));
          }
  </code></pre>
  
  <p>This is using symfony2.1 with composer...  Any ideas on how to get this working?</p>