You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I opened this #10456 in the past, hoping that it had been fixed in #10385, but I still keep getting the same error.
Given that associations are loaded through proxies, when using constructor promotion in entities, PHP will throw an error when trying to access a property of the proxy object.
Bug Report
Summary
I opened this #10456 in the past, hoping that it had been fixed in #10385, but I still keep getting the same error.
Given that associations are loaded through proxies, when using constructor promotion in entities, PHP will throw an error when trying to access a property of the proxy object.
Current behavior
The stated above.
How to reproduce
Given these entities (i.e.):
One would expect this code to work:
But the following error is thrown:
Expected behavior
If possible, no error should be thrown and properties should be initialized when trying to access the proxy object.
The text was updated successfully, but these errors were encountered: