Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.2.1
    • Component/s: ORM
    • Security Level: All
    • Labels:
      None

      Description

      It appears that @PostLoad is not getting fired in 2.2.0. I have an entity with a list of OneToMany objects. The objects in the one-to-many list have @PostLoad method defined. Using the find method on EntityManager, I can pull in the entity:

      $object = EntityManager->find('entity\path\', $id);

      then:

      $list = $object->getList();
      foreach($list as $item) {

      }

      Each "item" has a @PostLoad method defined. This PostLoad method on each $item gets called successfully in 2.1.5, but it doesn't appear to be getting called in 2.2.0.

      This is my first time submitting a bug, so let me know if you need anything else.

        Activity

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Denny Swindle
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: