Skip to content

Commit 568f8b3

Browse files
Resolve issue on duplicate type in di.xml
1 parent d4aef30 commit 568f8b3

File tree

1 file changed

+1
-7
lines changed
  • app/code/Magento/ImportService/etc

1 file changed

+1
-7
lines changed

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

+1-7
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<preference for="Magento\ImportService\Api\Data\SourceUploadResponseInterface" type="Magento\ImportService\Model\SourceUploadResponse" />
1313
<preference for="Magento\ImportService\Api\SourceRepositoryInterface"
1414
type="Magento\ImportService\Model\SourceRepository"/>
15-
15+
1616
<type name="Magento\ImportService\Model\Import\SourceProcessorPool">
1717
<arguments>
1818
<argument name="sourceProcessors" xsi:type="array">
@@ -23,12 +23,6 @@
2323
<item name="csv" xsi:type="const">Magento\ImportService\Model\Import\Processor\LocalPathFileProcessor::SOURCE_TYPE_CSV</item>
2424
</item>
2525
</item>
26-
</argument>
27-
</arguments>
28-
</type>
29-
<type name="Magento\ImportService\Model\Import\SourceProcessorPool">
30-
<arguments>
31-
<argument name="sourceProcessors" xsi:type="array">
3226
<item name="base64_encoded_data" xsi:type="array">
3327
<item name="processor" xsi:type="object">Magento\ImportService\Model\Import\Processor\Base64EncodedDataProcessor\Proxy</item>
3428
<item name="import_type" xsi:type="const">Magento\ImportService\Model\Import\Processor\Base64EncodedDataProcessor::IMPORT_TYPE</item>

0 commit comments

Comments
 (0)