Re: [symfony-users] [Symfony2] MongoDB Exception: "Every Document must have an identifier/primary key"

2011-01-18 Thread stof
On Mon, 17 Jan 2011 16:16:34 -0800 (PST), Philipp Schächtele wrote: > Hey Symfony Users, > > when trying to persist a Document with MongoDB in the current version > of the Symfony2 Sandbox I receive the following Exception: > > "No identifier/primary key specified for Document 'Application > \Te

[symfony-users] [Symfony2] MongoDB Exception: "Every Document must have an identifier/primary key"

2011-01-17 Thread Philipp Schächtele
Hey Symfony Users, when trying to persist a Document with MongoDB in the current version of the Symfony2 Sandbox I receive the following Exception: "No identifier/primary key specified for Document 'Application \TestBundle\Document\Test'. Every Document must have an identifier/ primary key." My