ZF-Commons / ZfcUserDoctrineORM

Doctrine2 ORM storage adapter for ZfcUser.
BSD 3-Clause "New" or "Revised" License
89 stars 92 forks source link

Zend\Form\Form::isValid is unable to validate as there is no input filter present #27

Closed ghost closed 12 years ago

ghost commented 12 years ago

See https://github.com/ZF-Commons/ZfcUser/issues/118

This appears when i want to configure a custom Entity. I made a copy of zfcuserdoctrineorm config/xml into my module "Membre" and this:

autoload/zfcuser.global.php: 'user_entity_class' => 'Membre\Entity\Membre',

autoload/zfcuserdoctrineorm.global.php: <?php return array( 'doctrine' => array( 'driver' => array( 'membre_entity' => array( 'class' => 'Doctrine\ORM\Mapping\Driver\XmlDriver', 'paths' => DIR.'/../../module/Membre/config/xml/zfcuser' ), 'orm_default' => array( 'drivers' => array( 'Membre\Entity' => 'membre_entity' ) ) ) ), ); ?>

If i configure a wrong xml directory, no exception is thrown so i think my configuration is ignored.