Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-2901

entity-listeners are not propagated to children of mapped superclasses

    Details

    • Type: Bug Bug
    • Status: Awaiting Feedback
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.4.1
    • Fix Version/s: None
    • Component/s: ORM
    • Security Level: All
    • Labels:

      Description

      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

        Activity

        Hide
        Marco Pivetta added a comment -

        Stuart Carnie 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?

        Show
        Marco Pivetta added a comment - Stuart Carnie 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?
        Hide
        Stuart Carnie added a comment - - edited

        Marco Pivetta, I've updated the URIs in the description to the right tree

        Show
        Stuart Carnie added a comment - - edited Marco Pivetta , I've updated the URIs in the description to the right tree
        Hide
        Marco Pivetta added a comment -

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

        Fabio B. Silva can you provide any insight on why this decision was made?

        Show
        Marco Pivetta added a comment - The code explicitly forbids inheriting listeners when the child class does not have any. Fabio B. Silva can you provide any insight on why this decision was made?

          People

          • Assignee:
            Fabio B. Silva
            Reporter:
            Stuart Carnie
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: