View Issue Details

IDProjectCategoryView StatusLast Update
0002266XdebugStep Debuggingpublic2024-07-17 18:13
Reporterhacfi Assigned Toderick  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionunable to reproduce 
Product Version3.3.2 
Summary0002266: "can not get property" error when debugging Doctrine ORM unit of work in Symfony project
Description

I've noticed that in PhpStorm in the Debug toolbar I can't look into the UnitOfWork properties of the entity manager of a EntityRepository in Symfony project. The entity manager is proxy that gets initialized when first used. If I use the evaluate expression feature it does work.

Steps To Reproduce

In a Symfony project create an entity with an entity repository and inject the entity repository into another service, then load one entity from the database and check the debug toolbar.

TagsNo tags attached.
Attached Files
Operating SystemDarwin 23.3.0 macOS 14.3.1
PHP Version8.2.0-8.2.9

Activities

derick

2024-05-06 14:57

administrator   ~0006948

In a Symfony project create an entity with an entity repository and inject the entity repository into another service, then load one entity from the database and check the debug toolbar.

I am not a Symfony user, so I don't know how to do that.

Can you provide a full set of steps on how I can reproduce this? Preferably with as little clutter through frameworks as possible. That should be doable, as this seems to be an issue showing through the use of Doctrine.

derick

2024-07-17 18:13

administrator   ~0007002

Not enough feedback provided, and can't reproduce this myself.

Issue History

Date Modified Username Field Change
2024-05-06 11:22 hacfi New Issue
2024-05-06 11:22 hacfi File Added: Screenshot 2024-05-06 at 13.14.42.png
2024-05-06 14:57 derick Assigned To => derick
2024-05-06 14:57 derick Status new => feedback
2024-05-06 14:57 derick Note Added: 0006948
2024-07-17 18:13 derick Status feedback => resolved
2024-07-17 18:13 derick Resolution open => unable to reproduce
2024-07-17 18:13 derick Note Added: 0007002