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
While using a custom quote strategy with at least quoting column names and column aliases doctrine can't hydrate row data, because all or maybe the most internal column mappings are stored quoted and the simple object hydrator uses the result key names, which are unquoted, to hydrate the column information.
Current behavior
The whole hydrate process breaks.
How to reproduce
Create a custom quote strategy with at least quoting column names and aliases.
Use an entity repository to find some entities.
Expected behavior
Getting my entities.
Solution
Generate a quoted column alias to fetch the hydrate the column information
Bug Report
Summary
While using a custom quote strategy with at least quoting column names and column aliases doctrine can't hydrate row data, because all or maybe the most internal column mappings are stored quoted and the simple object hydrator uses the result key names, which are unquoted, to hydrate the column information.
Current behavior
The whole hydrate process breaks.
How to reproduce
Expected behavior
Getting my entities.
Solution
Generate a quoted column alias to fetch the hydrate the column information
Related issue
The text was updated successfully, but these errors were encountered: