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

Closed
doctrinebot opened this Issue Oct 10, 2009 · 3 comments

1 participant

@doctrinebot

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.

@doctrinebot

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" ?
@doctrinebot

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.

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added this to the 2.0-ALPHA3 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment