Add support for paragraphs module

Created on 18 July 2018, over 6 years ago
Updated 29 May 2024, 6 months ago

I am using Bootstrap Paragraphs โ†’ module and I have added the formatter field to a paragraph type named bp_image.
I have linked the formatter field with the image field.

If I add a paragraph type bp_image, I will not have the possibility to save it:
-If I select "responsive image": the displayed form is the upper paragraph (not the responsive image form)
-If I select "Image': nothing happens
-If I save, I will get errors and nothing will be saved

Here is the error after selecting "image" and saving the node:

Notice: Undefined index: field_formatter_field in Drupal\formatter_field\Plugin\Field\FieldWidget\FormatterWidget->settingsFormAjax() (line 181 of /var/www/html/drupal8/modules/contrib/formatter_field/src/Plugin/Field/FieldWidget/FormatterWidget.php). array(17)
'16: Drupal\formatter_field\Plugin\Field\FieldWidget\FormatterWidget->settingsFormAjax()' => array(2)
'15: call_user_func_array()' => array(1)
'14: Drupal\Core\Form\FormAjaxResponseBuilder->buildResponse()' => array(2)
'13: Drupal\Core\Form\EventSubscriber\FormAjaxSubscriber->onException()' => array(2) Get path
'12: call_user_func()' => array(1)
'11: Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch()' => array(2)
'10: Symfony\Component\HttpKernel\HttpKernel->handleException()' => array(2)
' 9: Symfony\Component\HttpKernel\HttpKernel->handle()' => array(2)
' 8: Drupal\Core\StackMiddleware\Session->handle()' => array(2)
' 7: Drupal\Core\StackMiddleware\KernelPreHandle->handle()' => array(2)
' 6: Drupal\page_cache\StackMiddleware\PageCache->pass()' => array(2)
' 5: Drupal\page_cache\StackMiddleware\PageCache->handle()' => array(2)
' 4: Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()' => array(2)
' 3: Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()' => array(2)
' 2: Stack\StackedHttpKernel->handle()' => array(2)
' 1: Drupal\Core\DrupalKernel->handle()' => array(2)
' 0: main()' => array(2)

Here is another error :

Notice: Undefined index: #prefix in Drupal\file\Element\ManagedFile::uploadAjaxCallback() (line 196 of /var/www/html/drupal8/core/modules/file/src/Element/ManagedFile.php). array(17)
'16: Drupal\file\Element\ManagedFile::uploadAjaxCallback()' => array(2)
'15: call_user_func_array()' => array(1)
'14: Drupal\Core\Form\FormAjaxResponseBuilder->buildResponse()' => array(2)
'13: Drupal\Core\Form\EventSubscriber\FormAjaxSubscriber->onException()' => array(2)
'12: call_user_func()' => array(1)
'11: Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch()' => array(2)
'10: Symfony\Component\HttpKernel\HttpKernel->handleException()' => array(2)
' 9: Symfony\Component\HttpKernel\HttpKernel->handle()' => array(2)
' 8: Drupal\Core\StackMiddleware\Session->handle()' => array(2)
' 7: Drupal\Core\StackMiddleware\KernelPreHandle->handle()' => array(2)
' 6: Drupal\page_cache\StackMiddleware\PageCache->pass()' => array(2)
' 5: Drupal\page_cache\StackMiddleware\PageCache->handle()' => array(2)
' 4: Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()' => array(2)
' 3: Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()' => array(2)
' 2: Stack\StackedHttpKernel->handle()' => array(2)
' 1: Drupal\Core\DrupalKernel->handle()' => array(2)
' 0: main()' => array(2)
โœจ Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

๐Ÿ‡ง๐Ÿ‡ชBelgium DuneBL

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024