`TargetEntitiesResolver` incorrectly filters out interfaces when it encounters the model twice
martijnc opened this issue · 0 comments
martijnc commented
Sylius version affected: 1.11
Description
TargetEntitiesResolver
incorrectly filters out interfaces when it encounters the model twice. For example the Order
model is handled twice, once through sylius.order
and sylius.promotion_subject
. This results in the interfaces on Order
to have the Order
model twice(duplicated). The code then filters them out (the bug) because it things the interfaces are implemented by multiple entities.