DDC-2901: entity-listeners are not propagated to children of mapped superclasses #3660

Open
doctrinebot opened this Issue Jan 9, 2014 · 4 comments

1 participant

@doctrinebot

Jira issue originally created by user stuartcarnie:

If I have event-listeners set on the subclass and mapped superclass, event-listeners will not be propagated, per this code. Conversely, lifecycle events are, per this

@doctrinebot

Comment created by @ocramius:

[~stuartcarnie] I lost the code references that you linked, since the code changed and the line numbers don't match anymore.

Any chance that you can provide a failing test for this issue, as well as update the links to reference a fixed commit hash or tag?

@doctrinebot

Comment created by stuartcarnie:

[~ocramius], I've updated the URIs in the description to the right tree

@doctrinebot

Comment created by @ocramius:

The code explicitly forbids inheriting listeners when the child class does not have any.

[~fabio.bat.silva] can you provide any insight on why this decision was made?

@doctrinebot

Comment created by netsuo:

Hi,

Is this resolved ? Is there any "clean" workaround ?

I had to set my mappersuperclass' listener on the children to make it work, but it isn't really the best solution

@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