DDC-730: Fatal Error upon Proxy autogeneration #899

Closed
opened 2026-01-22 12:54:37 +01:00 by admin · 3 comments
Owner

Originally created by @doctrinebot on GitHub (Aug 2, 2010).

Jira issue originally created by user cmealey:

Fatal Error upon Proxy auto-generation
"Aug 2 17:13:28 vmubuntu apache2: PHP Parse error: syntax error, unexpected $end in /src/proxies/ExampleProxy.php on line 213"

The proxy is generated properly, and everything works beautifully upon disabling autogen.

But when it's generated then loaded in the same request (occasionally, and very unpredictably) things get wonky.

It feels a LOT like file-system lag since /src is mounted by vmware to a NTFS directory on the host machine.
So I'm not sure this is Doctrine's responsibility.

Originally created by @doctrinebot on GitHub (Aug 2, 2010). Jira issue originally created by user cmealey: Fatal Error upon Proxy auto-generation "Aug 2 17:13:28 vmubuntu apache2: PHP Parse error: syntax error, unexpected $end in /src/proxies/ExampleProxy.php on line 213" The proxy is generated properly, and everything works beautifully upon disabling autogen. But when it's generated then loaded in the same request (occasionally, and very unpredictably) things get wonky. It feels a LOT like file-system lag since /src is mounted by vmware to a NTFS directory on the host machine. So I'm not sure this is Doctrine's responsibility.
admin added the Bug label 2026-01-22 12:54:37 +01:00
admin closed this issue 2026-01-22 12:54:39 +01:00
Author
Owner

@doctrinebot commented on GitHub (Aug 2, 2010):

Comment created by @guilhermeblanco:

Could you please upload your ExampleProxy re-generated? It seems that new ProxyFactory code is generating broken proxies

@doctrinebot commented on GitHub (Aug 2, 2010): Comment created by @guilhermeblanco: Could you please upload your ExampleProxy re-generated? It seems that new ProxyFactory code is generating broken proxies
Author
Owner

@doctrinebot commented on GitHub (Sep 15, 2010):

Comment created by @beberlei:

You shouldn't auto-generate entities in a multi-concurrency production environment. there is nothing we can do about it

@doctrinebot commented on GitHub (Sep 15, 2010): Comment created by @beberlei: You shouldn't auto-generate entities in a multi-concurrency production environment. there is nothing we can do about it
Author
Owner

@doctrinebot commented on GitHub (Sep 15, 2010):

Issue was closed with resolution "Won't Fix"

@doctrinebot commented on GitHub (Sep 15, 2010): Issue was closed with resolution "Won't Fix"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#899