stof/StofDoctrineExtensionsBundle — Issue #71: MongoDb No identifier/primary key LogEntry
Author: alexhub79
Created: 2011-10-10 09:03:01+00:00
State: open

Hye,
The old issue was close so i am sorry but i create a new issue

I have error with doctrine:mongodb:generate:documents and the last symfony version

Z:\site\symfony-v2>php app/console doctrine:mongodb:generate:documents MongoMenuBundle

[Doctrine\ODM\MongoDB\MongoDBException]
No identifier/primary key specified for Document 'Stof\DoctrineExtensionsBundle\Document\LogEntry'. Every Document must have an identifier/primary key.

doctrine:mongodb:generate:documents [--document[="..."]] bundle

The error appear juste when StofDoctrineExtensionsBundle is true in the config.yml