Target document is not always available.
Target document is not always available.

The mongodb odm documentation indicates that targetDocument is
optional. This was causing an undefined index notice when it was not
specified.

symfony2admingenerator/AdmingeneratorGeneratorBundle,Restless-ET/AdmingeneratorGeneratorBundle,Restless-ET/AdmingeneratorGeneratorBundle,Restless-ET/AdmingeneratorGeneratorBundle,symfony2admingenerator/AdmingeneratorGeneratorBundle