Skip to content

Commit 9463b1b

Browse files
committed
MAGETWO-56065: [Flat] Filter Exception. Custom attributes mapper move from lib
1 parent 8ee0ddf commit 9463b1b

File tree

3 files changed

+5
-47
lines changed

3 files changed

+5
-47
lines changed

app/code/Magento/Eav/etc/di.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,12 @@
152152
<argument name="collectionProcessor" xsi:type="object">Magento\Eav\Model\Api\SearchCriteria\AttributeGroupCollectionProcessor</argument>
153153
</arguments>
154154
</type>
155-
<type name="Magento\Framework\EntityManager\CustomAttributesMapper">
155+
<type name="Magento\Framework\EntityManager\CompositeMapper">
156156
<arguments>
157-
<argument name="mapper" xsi:type="object">Magento\Eav\Model\CustomAttributesMapper</argument>
157+
<argument name="mappers" xsi:type="array">
158+
<item name="mapper" xsi:type="object">Magento\Framework\EntityManager\Mapper</item>
159+
<item name="customAttributesMapper" xsi:type="object">Magento\Eav\Model\CustomAttributesMapper</item>
160+
</argument>
158161
</arguments>
159162
</type>
160163
</config>

app/etc/di.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1205,7 +1205,6 @@
12051205
<arguments>
12061206
<argument name="mappers" xsi:type="array">
12071207
<item name="mapper" xsi:type="object">Magento\Framework\EntityManager\Mapper</item>
1208-
<item name="customAttributesMapper" xsi:type="object">Magento\Framework\EntityManager\CustomAttributesMapper</item>
12091208
</argument>
12101209
</arguments>
12111210
</type>

lib/internal/Magento/Framework/EntityManager/CustomAttributesMapper.php

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)