DDC-3667: Fetch-joining a collection that has a field with a default value of array causes a fatal error #4504

Closed
opened 2026-01-22 14:43:14 +01:00 by admin · 1 comment
Owner

Originally created by @doctrinebot on GitHub (Apr 5, 2015).

Originally assigned to: @Ocramius on GitHub.

Jira issue originally created by user @ocramius:

With a class like:

class Foo { private $bar = []; }

Fetch-joining like following (with fetch-joined results) will cause a fatal error:

SELECT f, b FROM Foo f JOIN f.bar b

Originally created by @doctrinebot on GitHub (Apr 5, 2015). Originally assigned to: @Ocramius on GitHub. Jira issue originally created by user @ocramius: With a class like: `class Foo { private $bar = []; }` Fetch-joining like following (with fetch-joined results) will cause a fatal error: `SELECT f, b FROM Foo f JOIN f.bar b`
admin added the Bug label 2026-01-22 14:43:14 +01:00
admin closed this issue 2026-01-22 14:43:14 +01:00
Author
Owner

@doctrinebot commented on GitHub (Apr 5, 2015):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Apr 5, 2015): Issue was closed with resolution "Fixed"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#4504