[PR #9619] Make Reflection available to ConvertMappingCommand #11750

Closed
opened 2026-01-22 16:11:48 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/9619

State: closed
Merged: Yes


Fixes #9659

This fixes an exception when exporting mapping information using the
ConvertMappingCommand from Attributes. The AttributeDriver needs a
ReflectionClass in the loadMetadataForClass method. The
ConvertMappingCommand sets up the ClassMetadataFactory as an instance of
DisconnectedClassMetadataFactory which does not return ReflectionClasses

**Original Pull Request:** https://github.com/doctrine/orm/pull/9619 **State:** closed **Merged:** Yes --- Fixes #9659 This fixes an exception when exporting mapping information using the ConvertMappingCommand from Attributes. The AttributeDriver needs a ReflectionClass in the loadMetadataForClass method. The ConvertMappingCommand sets up the ClassMetadataFactory as an instance of DisconnectedClassMetadataFactory which does not return ReflectionClasses
admin added the pull-request label 2026-01-22 16:11:48 +01:00
admin closed this issue 2026-01-22 16:11:48 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#11750