You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class SomeclassFixtures extends Fixture implements FixtureGroupInterface {
public function load(ObjectManager $manager)
{
}
}
No php or mysql error messages found. $row->getId() returns null before manager->flush() and int value after flushing as expected. But i can not found record with Mysql Workbench.
How can it happend.
The text was updated successfully, but these errors were encountered:
Problem found. With Doctrine\ORM\EntityManager everything works fine, with Doctrine\Common\Persistence\ObjectManager - not. Some times the last one works as expected, but i do not understend why.
The same code works fine outside the FixturesBundle and does't work inside it. For example:
This code with simple entity works with entity manager created this way:
But doesn't work inside this:
No php or mysql error messages found. $row->getId() returns null before manager->flush() and int value after flushing as expected. But i can not found record with Mysql Workbench.
How can it happend.
The text was updated successfully, but these errors were encountered: