Skip to content


DDC-39: Proxy definition files doesn't get updated when changing Entity #4755

doctrinebot opened this Issue · 3 comments

1 participant


Jira issue originally created by user crotalus:

Proxy definitions are generated in /tmp but not accordingly updated when their respective Entitiy-objects gets new methods, therefore _load() is never called on these new methods.


Comment created by romanb:

I think we should do the following:

  • In development mode, the proxy class files should be regenerated automatically when changed. This has some overhead but for development its very convenient.
  • New CLI tasks for generating proxies: "generate-proxy-classes" ?

Comment created by romanb:

This should work better now in HEAD. Please refer to the updated Configuration chapter of the manual, especially the section and configuration options about proxy classes. Also there is a new CLI task to (re)generate proxy classes by hand. Proxy classes now behave like all other classes with regard to class loading.


Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added this to the 2.0-ALPHA3 milestone
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.