mmarton
mmarton
I'm having the same issue, with this (simplified): ```php public function testIssue1(): void { $event = EventFactory::createOne(); $event->setLocation(LocationFactory::createOne()); $event->_save(); } // Doctrine\ORM\ORMInvalidArgumentException: A new entity was found through the relationship...
Sure, here is the full stack: ``` Foundry (Tests\Integration\Foundry) ✘ Orm issue ┐ ├ Doctrine\ORM\ORMInvalidArgumentException: A new entity was found through the relationship 'App\Entity\Event#location' that was not configured to cascade...