Skip to content

Loading…

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

Closed
doctrinebot opened this Issue · 2 comments

2 participants

@doctrinebot

Jira issue originally created by user skl:

If lifecycle callbacks are added to XML metadata like so:

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

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

@doctrinebot

Comment created by @beberlei:

Fixed

@doctrinebot

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.