QUESTION:
After updating our Magento shop to M2.4.2 the duplicate category module gave an error.
When going to Catalog > Categories this error is shown:
1 exception(s): Exception #0 (Magento\Framework\Exception\LocalizedException): The "componentType" configuration parameter is required for the "parent" component.Exception #0 (Magento\Framework\Exception\LocalizedException): The "componentType" configuration parameter is required for the "parent" component. <pre>#1 Magento\Framework\View\Element\UiComponentFactory->mergeMetadataItem() called at [vendor/magento/framework/View/Element/UiComponentFactory.php:425] #2 Magento\Framework\View\Element\UiComponentFactory->mergeMetadataItem() called at [vendor/magento/framework/View/Element/UiComponentFactory.php:334] #3 Magento\Framework\View\Element\UiComponentFactory->mergeMetadata() called at [vendor/magento/framework/View/Element/UiComponentFactory.php:231] #4Magento\Framework\View\Element\UiComponentFactory->create() called at [vendor/magento/framework/View/Layout/Generator/UiComponent.php:140] #5 Magento\Framework\View\Layout\Generator\UiComponent->generateComponent() called at [vendor/magento/framework/View/Layout/Generator/UiComponent.php:103] #6 Magento\Framework\View\Layout\Generator\UiComponent->process() called at [vendor/magento/framework/View/Layout/GeneratorPool.php:93] #7 Magento\Framework\View\Layout\GeneratorPool->process() called at [vendor/magento/framework/View/Layout.php:365] #8 Magento\Framework\View\Layout->generateElements() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:68] .......
The exception is triggered at
UiComponentFactory.php
vendor/magento/framework/View/Element/UiComponentFactory.php at line 405
Could you send me the fix?
ANSWER:
<field name="parent">
<field name="parent_duplicate">
If you need any further assistance, please feel free to contact us. We'd be happy to support!