- 🇩🇪Germany AgathaCrystal Potsdam
Hi,
so I tested the functionality and it seems like in combination with ctool this solution breaks.
Steps to reproduce:
- Fresh Drupal installation (10.0.9, PHP 8.1.16, MariaDB) with Gutenberg & ctools (with ctools blocks and views activated) installed
- Add taxonomy to contenttype
- Create block view, add exposed filter for the taxonomy, set allowed block settings to "Configure filters"
- Activate the block view in the gutenbergexperience of a contenttype
- Create node with gutenberg, add the block view, setup the settings
- Settings dont effect the block, after saving the settings of the block wont open anymore and i get the following error:
TypeError: Drupal\Core\Form\FormState::setUserInput(): Argument #1 ($user_input) must be of type array, string given, called in /var/www/html/web/modules/contrib/ctools/modules/ctools_views/src/Plugin/Display/Block.php on line 243 in Drupal\Core\Form\FormState->setUserInput() (line 996 of /var/www/html/web/core/lib/Drupal/Core/Form/FormState.php).