title: No message template exists for key 'emailAddressInvalidFormat' zf2
body: <p>No message template exists for key <em>emailAddressInvalidFormat</em>-zf2 [zend-framework2].</p>
  
  <p>I am using following code, My array for filter is</p>
  
  <pre><code>$this-&gt;add(array(
          'name' =&gt; 'email',
          'required' =&gt; true,
          'filters' =&gt; array(
              array('name' =&gt; 'StripTags'),
              array('name' =&gt; 'StringTrim'),
          ),
          'validators' =&gt; array(
              array(
                  'name' =&gt; 'StringLength',
                  'options' =&gt; array(
                      'encoding' =&gt; 'UTF-8',
                      'min' =&gt; 1,
                      'max' =&gt; 256,
                  ),
              ),
              array(
                  'name' =&gt; 'DoctrineModule\Validator\ObjectExists',
                  'options' =&gt; array(
                      'object_repository' =&gt;  $sm-&gt;get('doctrine.entitymanager.orm_default')-&gt;getRepository('Application\Entity\Customer'),
                      'fields' =&gt; 'email',
                       'messages'=&gt;array(
                          \Zend\Validator\EmailAddress::INVALID_FORMAT  =&gt; "Invalid type given. String expected",
                      )
                  ),
              ),
          ),
  
      ));
  </code></pre>
  
  <p>But i am getting error.</p>