View Issue Details

IDProjectCategoryView StatusLast Update
0002266XdebugStep Debuggingpublic2024-07-17 18:13
Reporterhacfi Assigned To 
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.
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.