Hi Janelle, Can you report this at https://github.com/doctrine/doctrine2/issues ?
Also, do you eventually have an example with which you can reproduce the issue? Ideally, something like https://github.com/doctrine/doctrine2/blob/d3f6c5ec70aac4b029a4b61ecf1e2ba61a1a4a6d/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC992Test.php, for example (just adapted to your scenario). Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On Thu, Sep 29, 2016 at 4:42 PM, Janelle Tavares <[email protected]> wrote: > I believe that I found a bug in the latest version of > AssignedGenerator.php. > > - $value = $em->getUnitOfWork()->getSingleIdentifierValue($value); > + $value = $em->getUnitOfWork()->getSingleIdentifierValue($entity); > > getSingleIdentifierValue is expecting an entity. When you pass a value > into getSingleIdentifierValue and not an entity, the get_class() function > does not return a coherent value. In my case, it has been returning an > empty string. Eventually, the code throws a > MappingException::nonExistingClass > exception. > > Thanks. > > -- > You received this message because you are subscribed to the Google Groups > "doctrine-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/doctrine-user. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
