mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
RSM addFieldResult undefined index #5975
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @javabudd on GitHub (May 28, 2018).
Bug Report
BC Break: No
Version: 2.6.1
Summary
When calling addFieldResult on the ResultSetMapping object, an undefined index occurs if the alias provided is not in the alias map.
Current behavior
undefined index while attempting to access alias from alias map
How to reproduce
Expected behavior
An exception should be thrown instead of an undefined index