We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've create a backtick quoting strategy.
Entity hydration seems to fail when I enable the strategy.
$user = $this->getRepository(User::class)->findOneBy(['email' => 'me@example.com']);
Errors with;
Undefined index: id /Volumes/hf-model-development@s01.localhost/vendor/doctrine/orm/lib/Doctrine/ORM/Utility/IdentifierFlattener.php:97 /Volumes/hf-model-development@s01.localhost/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:2513 /Volumes/hf-model-development@s01.localhost/vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/SimpleObjectHydrator.php:144 /Volumes/hf-model-development@s01.localhost/vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/SimpleObjectHydrator.php:69 /Volumes/hf-model-development@s01.localhost/vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php:147 /Volumes/hf-model-development@s01.localhost/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php:720 /Volumes/hf-model-development@s01.localhost/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php:196 /Volumes/hf-model-development@s01.localhost/test/src/Entity/Authentication/UserDBTest.php:31
Seems to be the hydrateColumnInfo method in the sqlResult loop of SimpleObjectHydrator::hydrateRowData
When I replace
$this->hydrateColumnInfo($column);
for
$this->hydrateColumnInfo('`'.$column.'`');
Things work as expected.
The text was updated successfully, but these errors were encountered:
Quoting strategy has been removed in Doctrine 3.x, now everything is quoted
Sorry, something went wrong.
ostrolucky
No branches or pull requests
I've create a backtick quoting strategy.
Entity hydration seems to fail when I enable the strategy.
Errors with;
Seems to be the hydrateColumnInfo method in the sqlResult loop of SimpleObjectHydrator::hydrateRowData
When I replace
for
Things work as expected.
The text was updated successfully, but these errors were encountered: