Skip to content


DDC-1257: Duplicate PHP methods generated from XML metadata lifecycle-callbacks #1867

doctrinebot opened this Issue · 2 comments

2 participants


Jira issue originally created by user skl:

If lifecycle callbacks are added to XML metadata like so:

        <lifecycle-callback type="prePersist" method="validate" />
        <lifecycle-callback type="preUpdate" method="validate" />

The validate() method will appear twice in an entity generated from this metadata.


Comment created by @beberlei:



Issue was closed with resolution "Fixed"

@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.0.7 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.