File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
lib/Gedmo/ReferenceIntegrity Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,10 @@ a release.
2727#### Fixed
2828- Remove hard-coded parent column name in repository prev/next sibling queries [ #2020 ]
2929
30+ ### ReferenceIntegrity
31+ #### Fixed
32+ - Get class from meta in ReferenceIntegrityListener [ #2021 ]
33+
3034## [ 2.4.37] - 2019-03-17
3135### Translatable
3236#### Fixed
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ public function preRemove(EventArgs $args)
5454 $ class = get_class ($ object );
5555 $ meta = $ om ->getClassMetadata ($ class );
5656
57- if ($ config = $ this ->getConfiguration ($ om , $ class )) {
57+ if ($ config = $ this ->getConfiguration ($ om , $ meta -> name )) {
5858 foreach ($ config ['referenceIntegrity ' ] as $ property => $ action ) {
5959 $ reflProp = $ meta ->getReflectionProperty ($ property );
6060 $ refDoc = $ reflProp ->getValue ($ object );
You can’t perform that action at this time.
0 commit comments