DDC-3684: [GH-1381] Fixes ClassMetadata wakeupReflection with embeddable and StaticReflectio... #4527

Closed
opened 2026-01-22 14:44:07 +01:00 by admin · 4 comments
Owner

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

Originally assigned to: @Ocramius on GitHub.

Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of nicovogelaar:

Url: https://github.com/doctrine/doctrine2/pull/1381

Message:

...nService

When the StaticReflectionService is used, then the wakeupReflection will cause an error with embedded properties. This is because the getAccessibleProperty method of the StaticReflectionService will always return null, so the parentReflFields will only have null values.

I found this problem when I was generating a Symfony form based on an entity with embedded properties.

Originally created by @doctrinebot on GitHub (Apr 11, 2015). Originally assigned to: @Ocramius on GitHub. Jira issue originally created by user @doctrinebot: This issue is created automatically through a Github pull request on behalf of nicovogelaar: Url: https://github.com/doctrine/doctrine2/pull/1381 Message: ...nService When the `StaticReflectionService` is used, then the wakeupReflection will cause an error with embedded properties. This is because the `getAccessibleProperty` method of the `StaticReflectionService` will always return null, so the parentReflFields will only have null values. I found this problem when I was generating a Symfony form based on an entity with embedded properties.
admin added the Bug label 2026-01-22 14:44:07 +01:00
admin closed this issue 2026-01-22 14:44:07 +01:00
Author
Owner

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

Comment created by @doctrinebot:

A related Github Pull-Request [GH-1381] was labeled:
https://github.com/doctrine/doctrine2/pull/1381

@doctrinebot commented on GitHub (Apr 13, 2015): Comment created by @doctrinebot: A related Github Pull-Request [GH-1381] was labeled: https://github.com/doctrine/doctrine2/pull/1381
Author
Owner

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

Comment created by @doctrinebot:

A related Github Pull-Request [GH-1381] was assigned:
https://github.com/doctrine/doctrine2/pull/1381

@doctrinebot commented on GitHub (Apr 13, 2015): Comment created by @doctrinebot: A related Github Pull-Request [GH-1381] was assigned: https://github.com/doctrine/doctrine2/pull/1381
Author
Owner

@doctrinebot commented on GitHub (Jul 15, 2015):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-1381] was closed:
https://github.com/doctrine/doctrine2/pull/1381

@doctrinebot commented on GitHub (Jul 15, 2015): Comment created by @doctrinebot: A related Github Pull-Request [GH-1381] was closed: https://github.com/doctrine/doctrine2/pull/1381
Author
Owner

@doctrinebot commented on GitHub (Jul 15, 2015):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Jul 15, 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#4527