Thanks for your quick response.  I was looking for that issues link.  I'll 
see what I can do.

-Janelle

On Thursday, September 29, 2016 at 8:38:21 AM UTC-7, Marco Pivetta wrote:
>
> 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 <jta...@gmail.com 
> <javascript:>> 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 doctrine-use...@googlegroups.com <javascript:>.
>> To post to this group, send email to doctri...@googlegroups.com 
>> <javascript:>.
>> 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 doctrine-user+unsubscr...@googlegroups.com.
To post to this group, send email to doctrine-user@googlegroups.com.
Visit this group at https://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to