duzenko

Results 34 comments of duzenko

If this was fixed in a later version, please point me to the change log entry

FWIW my composer versions are ``` doctrine/annotations 1.14.3 Docblock Annotations Parser doctrine/cache 1.13.0 PHP Doctrine Cache library is a popular cache implementation that supports many diff... doctrine/collections 1.8.0 PHP Doctrine...

> However, I fail to find an actionable proposal in this ticket. Do you want to elaborate a bit more? Either remove (deprecate) stuff that is not supported everywhere, or,...

Relevant field definitions: ``` class EventConfirmation { ... /** * @ORM\OneToOne(targetEntity="Event", inversedBy="confirmation") * @JoinColumn(name="event", referencedColumnName="id") */ private ?Event $event; ``` This was added (along with `inversedBy` above) before the bug...

It seems that changing `SELECT e, ec FROM` to `SELECT ec FROM` helps in this particular case as it changes the type of `event` field from Entity to Proxy. However...

It would be great to get some feedback regarding this The bug also manifests with proxy objects after they get initialized ``` $em = phpVirtualMachine()->getEntityManager(); $eventConfirmations = $em->getRepository( \E5\Entity\EventConfirmation::class )->findBy(...

@greg0ire Do you have a test already that deletes an entity on the owner side of a BiDi relation? I'd think no, which is why it was not noticed And...

@greg0ire This reproduced the error reliably for me ```php

> Is it a minimal reproducer? For instance, is the JoinColumn attribute necessary to reproduce the issue? How would I know if it is necessary? I took this code from...