ihqs/ContactBundle — Issue #4: Error after adding doctrine_mongodb
Author: nurikabe
Created: 2011-10-13 20:53:01+00:00
State: open

I recently started using the ContactBundle. Worked fine until I added a config for doctrine_mongodb: alongside doctrine:

Notice: Undefined index: IHQS\ContactBundle\Document\Contact in E:\projects\ccconsulting\tamago\master\vendor\doctrine-mongodb-odm\lib\Doctrine\ODM\MongoDB\Mapping\Driver\AbstractFileDriver.php line 116

We are using both MySQL as well as Mongo.

Seems like the bundle is trying to use Mongo even though I have specifiied the default MySQL ORM:

```ihqs_contact:
contact:
form:
type: ihqs_contact_contact
handler: ihqs_contact.contact.form.handler.default
name: ihqs_contact_contact_form
validation_groups: [Contact]
connectors:
email:
recipients: evan.owens@ccconsulting.jp
database:
db_driver: orm```

Apologies for the newbie-ish question.