Skip to content

Loading…

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

Closed
doctrinebot opened this Issue · 4 comments

1 participant

@doctrinebot

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

Comment created by gedrox:

Patch which adds the "abstract" keyword for problematic proxies

@doctrinebot

Comment created by @beberlei:

Fixed, skip generation of proxies for mapped superclasses.

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added this to the 2.0-BETA4 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.