Not working randomly when configuring a field block in Layout Builder

Created on 7 April 2023, over 1 year ago
Updated 27 June 2023, over 1 year ago

Problem/Motivation

Hi,

I am not sure if UI Patterns Field Formatters is the source of the problem.

When I try to use it on an address field, impossible to save the configuration form, here is the error I have in my browser console:

"
Une erreur HTTP AJAX s'est produite.
Code de statut HTTP : 200
Debugging information follows.
Path: /layout_builder/update/block/defaults/node.event.full/0/main/7b2d0099-c621-47d3-8108-4aebcc565c02?destination=/admin/structure/types/manage/event/display/full/layout&_wrapper_format=drupal_dialog&ajax_form=1
StatusText: parsererror
ResponseText : 
Warning:  Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0
Warning:  ini_set(): Session ini settings cannot be changed after headers have already been sent in /project/app/core/lib/Drupal/Core/DrupalKernel.php on line 1015
Warning:  ini_set(): Session ini settings cannot be changed after headers have already been sent in /project/app/core/lib/Drupal/Core/DrupalKernel.php on line 1016
Warning:  ini_set(): Session ini settings cannot be changed after headers have already been sent in /project/app/core/lib/Drupal/Core/DrupalKernel.php on line 1017
Warning:  ini_set(): Session ini settings cannot be changed after headers have already been sent in /project/app/core/lib/Drupal/Core/DrupalKernel.php on line 1020
Warning:  ini_set(): Session ini settings cannot be changed after headers have already been sent in /project/app/core/lib/Drupal/Core/DrupalKernel.php on line 1022
RuntimeException: Failed to start the session because headers have already been sent by "" at line 0. in Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() (line 132 of /project/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php)."

Also, seeing the number of properties an address, I wonder if there should not be a way in pattern property mapping to be able to sort the mapping. But this is another topic.

Opening the issue, I will try another day on a fresh Drupal install to try to identify the source of the problem.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

2.0

Component

Documentation

Created by

🇫🇷France Grimreaper France 🇫🇷

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

Comments & Activities

Production build 0.71.5 2024