Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
doctrinebot opened this issue Oct 10, 2009 · 3 comments
Closed
Labels
Milestone

Comments

@doctrinebot
Copy link

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added this to the 2.0-ALPHA3 milestone 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
Labels
Projects
None yet
Development

No branches or pull requests

1 participant