mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-979: ArrayHydrator::updateResultPointer() must be an array, string given #1223
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 @doctrinebot on GitHub (Jan 12, 2011).
Originally assigned to: @guilhermeblanco on GitHub.
Jira issue originally created by user tbo:
I have the following MySQL tables + data
Everything works fine if I do the following:
But I get an error when I replace getResult with getArrayResult.
Error:
@doctrinebot commented on GitHub (Aug 16, 2011):
Comment created by @guilhermeblanco:
Could you please include your Model mappings too?
@doctrinebot commented on GitHub (Dec 11, 2011):
Comment created by @guilhermeblanco:
Hi,
This special situation is not really possible.
You are not allowed to create a cross-reference Entity without defining an own @Id.
The situation you exposed here is due to it. Issue was left open but now after some tests it can be closed. In 2.2-DEV we added a better explanation for your problem, I hope the message is clear enough for you:
Marking the issue as won't fix.
@doctrinebot commented on GitHub (Dec 11, 2011):
Issue was closed with resolution "Won't Fix"
@doctrinebot commented on GitHub (Dec 11, 2011):
Comment created by @guilhermeblanco:
Added the testcase I have used.
@doctrinebot commented on GitHub (Dec 13, 2015):
Imported 1 attachments from Jira into https://gist.github.com/8ac7443367a0d8fd35de