I am trying to use the Feeds Paragraph module on a Drupal 9 installations.
I added both patches (
https://www.drupal.org/project/feeds_para_mapper/issues/3147462
📌
Automated Drupal 9 compatibility fixes
Needs review
and
https://www.drupal.org/project/feeds_para_mapper/issues/3177019
🐛
Compatibility problems caused by feeds update
Fixed
) but it doesn't work correctly.
When I add a paragraph field without the Feeds Paragraphs module enabled, the mapper settings allow me to choose the paragraph type, but no fields are displayed or can be selected. I am not sure if this is common behavior or already an issue with either Paragraphs or the Feeds module. But the interface works correctly and the settings stay.
After enabling the Feeds Paragraphs module, after saving the mapping I get the error: "Error: Target is missing"
I also get 3 different error in the logs:
Notice: Undefined index: target in Drupal\feeds\Entity\FeedType->getTargetPlugin() (line 465 of /Users/claudine/Sites/MAMP/mis-drupal/web/modules/contrib/feeds/src/Entity/FeedType.php)
#0 /Users/claudine/Sites/MAMP/mis-drupal/web/core/includes/bootstrap.inc(305): _drupal_error_handler_real(8, 'Undefined index...', '/Users/claudine...', 465)
#1 /Users/claudine/Sites/MAMP/mis-drupal/web/modules/contrib/feeds/src/Entity/FeedType.php(465): _drupal_error_handler(8, 'Undefined index...', '/Users/claudine...', 465, Array)
#2 /Users/claudine/Sites/MAMP/mis-drupal/web/modules/contrib/feeds/src/Form/MappingForm.php(205): Drupal\feeds\Entity\FeedType->getTargetPlugin(33)
#3 /Users/claudine/Sites/MAMP/mis-drupal/web/modules/contrib/feeds/src/Form/MappingForm.php(130): Drupal\feeds\Form\MappingForm->buildRow(Array, Object(Drupal\Core\Form\FormState), Array, 33)
#4 [internal function]: Drupal\feeds\Form\MappingForm->buildForm(Array, Object(Drupal\Core\Form\FormState), Object(Drupal\feeds\Entity\FeedType))
#5 /Users/claudine/Sites/MAMP/mis-drupal/web/core/lib/Drupal/Core/Form/FormBuilder.php(532): call_user_func_array(Array, Array)
#6 /Users/claudine/Sites/MAMP/mis-drupal/web/core/lib/Drupal/Core/Form/FormBuilder.php(371): Drupal\Core\Form\FormBuilder->retrieveForm('feeds_mapping_f...', Object(Drupal\Core\Form\FormState))
#7 /Users/claudine/Sites/MAMP/mis-drupal/web/core/lib/Drupal/Core/Form/FormBuilder.php(629): Drupal\Core\Form\FormBuilder->rebuildForm('feeds_mapping_f...', Object(Drupal\Core\Form\FormState), Array)
#8 /Users/claudine/Sites/MAMP/mis-drupal/web/core/lib/Drupal/Core/Form/FormBuilder.php(321): Drupal\Core\Form\FormBuilder->processForm('feeds_mapping_f...', Array, Object(Drupal\Core\Form\FormState))
#9 /Users/claudine/Sites/MAMP/mis-drupal/web/core/lib/Drupal/Core/Controller/FormController.php(73): Drupal\Core\Form\FormBuilder->buildForm(Object(Drupal\feeds\Form\MappingForm), Object(Drupal\Core\Form\FormState))
#10 [internal function]: Drupal\Core\Controller\FormController->getContentResult(Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\RouteMatch))
#11 /Users/claudine/Sites/MAMP/mis-drupal/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)
#12 /Users/claudine/Sites/MAMP/mis-drupal/web/core/lib/Drupal/Core/Render/Renderer.php(573): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#13 /Users/claudine/Sites/MAMP/mis-drupal/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#14 /Users/claudine/Sites/MAMP/mis-drupal/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array)
#15 /Users/claudine/Sites/MAMP/mis-drupal/vendor/symfony/http-kernel/HttpKernel.php(158): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#16 /Users/claudine/Sites/MAMP/mis-drupal/vendor/symfony/http-kernel/HttpKernel.php(80): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#17 /Users/claudine/Sites/MAMP/mis-drupal/web/core/lib/Drupal/Core/StackMiddleware/Session.php(57): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#18 /Users/claudine/Sites/MAMP/mis-drupal/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#19 /Users/claudine/Sites/MAMP/mis-drupal/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#20 /Users/claudine/Sites/MAMP/mis-drupal/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#21 /Users/claudine/Sites/MAMP/mis-drupal/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#22 /Users/claudine/Sites/MAMP/mis-drupal/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(52): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#23 /Users/claudine/Sites/MAMP/mis-drupal/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#24 /Users/claudine/Sites/MAMP/mis-drupal/web/core/lib/Drupal/Core/DrupalKernel.php(706): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#25 /Users/claudine/Sites/MAMP/mis-drupal/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#26 {main}
Drupal\feeds\Exception\MissingTargetException: The Feeds target "" does not exist. in Drupal\feeds\Entity\FeedType->getTargetPlugin() (line 470 of /Users/claudine/Sites/MAMP/mis-drupal/web/modules/contrib/feeds/src/Entity/FeedType.php).
Notice: Undefined index: target in Drupal\feeds\Form\MappingForm->buildRow() (line 215 of /Users/claudine/Sites/MAMP/mis-drupal/web/modules/contrib/feeds/src/Form/MappingForm.php)
#0 /Users/claudine/Sites/MAMP/mis-drupal/web/core/includes/bootstrap.inc(305): _drupal_error_handler_real(8, 'Undefined index...', '/Users/claudine...', 215)
#1 /Users/claudine/Sites/MAMP/mis-drupal/web/modules/contrib/feeds/src/Form/MappingForm.php(215): _drupal_error_handler(8, 'Undefined index...', '/Users/claudine...', 215, Array)
#2 /Users/claudine/Sites/MAMP/mis-drupal/web/modules/contrib/feeds/src/Form/MappingForm.php(130): Drupal\feeds\Form\MappingForm->buildRow(Array, Object(Drupal\Core\Form\FormState), Array, 33)
#3 [internal function]: Drupal\feeds\Form\MappingForm->buildForm(Array, Object(Drupal\Core\Form\FormState), Object(Drupal\feeds\Entity\FeedType))
#4 /Users/claudine/Sites/MAMP/mis-drupal/web/core/lib/Drupal/Core/Form/FormBuilder.php(532): call_user_func_array(Array, Array)
#5 /Users/claudine/Sites/MAMP/mis-drupal/web/core/lib/Drupal/Core/Form/FormBuilder.php(371): Drupal\Core\Form\FormBuilder->retrieveForm('feeds_mapping_f...', Object(Drupal\Core\Form\FormState))
#6 /Users/claudine/Sites/MAMP/mis-drupal/web/core/lib/Drupal/Core/Form/FormBuilder.php(629): Drupal\Core\Form\FormBuilder->rebuildForm('feeds_mapping_f...', Object(Drupal\Core\Form\FormState), Array)
#7 /Users/claudine/Sites/MAMP/mis-drupal/web/core/lib/Drupal/Core/Form/FormBuilder.php(321): Drupal\Core\Form\FormBuilder->processForm('feeds_mapping_f...', Array, Object(Drupal\Core\Form\FormState))
#8 /Users/claudine/Sites/MAMP/mis-drupal/web/core/lib/Drupal/Core/Controller/FormController.php(73): Drupal\Core\Form\FormBuilder->buildForm(Object(Drupal\feeds\Form\MappingForm), Object(Drupal\Core\Form\FormState))
#9 [internal function]: Drupal\Core\Controller\FormController->getContentResult(Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\RouteMatch))
#10 /Users/claudine/Sites/MAMP/mis-drupal/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)
#11 /Users/claudine/Sites/MAMP/mis-drupal/web/core/lib/Drupal/Core/Render/Renderer.php(573): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#12 /Users/claudine/Sites/MAMP/mis-drupal/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#13 /Users/claudine/Sites/MAMP/mis-drupal/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array)
#14 /Users/claudine/Sites/MAMP/mis-drupal/vendor/symfony/http-kernel/HttpKernel.php(158): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#15 /Users/claudine/Sites/MAMP/mis-drupal/vendor/symfony/http-kernel/HttpKernel.php(80): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#16 /Users/claudine/Sites/MAMP/mis-drupal/web/core/lib/Drupal/Core/StackMiddleware/Session.php(57): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#17 /Users/claudine/Sites/MAMP/mis-drupal/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#18 /Users/claudine/Sites/MAMP/mis-drupal/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#19 /Users/claudine/Sites/MAMP/mis-drupal/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#20 /Users/claudine/Sites/MAMP/mis-drupal/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#21 /Users/claudine/Sites/MAMP/mis-drupal/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(52): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#22 /Users/claudine/Sites/MAMP/mis-drupal/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#23 /Users/claudine/Sites/MAMP/mis-drupal/web/core/lib/Drupal/Core/DrupalKernel.php(706): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#24 /Users/claudine/Sites/MAMP/mis-drupal/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#25 {main}
Closed: outdated
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.