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-700: Proxy class is created for MappedSuperclass class #5213

Closed
doctrinebot opened this issue Jul 20, 2010 · 4 comments
Closed

DDC-700: Proxy class is created for MappedSuperclass class #5213

doctrinebot opened this issue Jul 20, 2010 · 4 comments
Labels
Milestone

Comments

@doctrinebot
Copy link

Jira issue originally created by user gedrox:

When having abstract class as Mapped Superclass the proxy class is created without the "abstract" keyword which raises fatal PHP error "Class %proxyClassName% contains 1 abstract method and must therefore be declared abstract or implement the remaining methods" when read.

I think there is no need to generate the proxy classes for classes marked as @MappedSuperclass at all.

@doctrinebot
Copy link
Author

Comment created by gedrox:

Patch which adds the "abstract" keyword for problematic proxies

@doctrinebot
Copy link
Author

Comment created by @beberlei:

Fixed, skip generation of proxies for mapped superclasses.

@doctrinebot
Copy link
Author

Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added this to the 2.0-BETA4 milestone Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
@doctrinebot
Copy link
Author

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