Problem/Motivation
When trying to add a single section to a layout of a page multiple section are added instead.
Steps to reproduce
The problem occurs when using Drupal 9.2.0, bootstrap Barrio Sass dev-5.x 5841e38, bootstrap layout builder dev-2.x 58959f6 and bootstrap styles dev-1.0.x 6ed42a2.
If I add a section such as bootstrap 3 column and save it immediately then one section is created with three add block buttons as expected. I can then configure the settings such as gutters, widths, columns etc as normal and it all works.
If when I add a section I also click gutters, width or columns then each time there is a error reported in the javascript console (below) and when I click save I get multiple sections created, I think there is one section for each item I've clicked.
Uncaught
Object { message: "\nAn AJAX HTTP error occurred.\nHTTP Result Code: 500\nDebugging information follows.\nPath: /layout_builder/configure/section/overrides/node.16/2/bootstrap_layout_builder%3Ablb_col_3?_wrapper_format=drupal_dialog.off_canvas&ajax_form=1\nStatusText: 500 Service unavailable (with message)\nResponseText: The website encountered an unexpected error. Please try again later.Symfony\\Component\\DependencyInjection\\Exception\\ServiceNotFoundException: You have requested a non-existent service "user.private_tempstore". in Drupal\\Component\\DependencyInjection\\Container->get() (line 156 of core/lib/Drupal/Component/DependencyInjection/Container.php).", name: "AjaxError", stack: "@https://example.localhost/core/misc/ajax.js?v=9.2.0:110:32\n@https://example.localhost/core/misc/ajax.js?v=9.2.0:674:3\n" }
If I use stable releases of bootstrap_layout_builder 2.0.3 and bootstrap style 1.0.3 then the problem doesn't occur.
If I use the dev release of bootstrap_layout_builder dev-2.x 58959f6 and bootstrap style 1.0.3 then clicking on the add section button gives the following error and I can't add a section at all.
Uncaught
Object { message: "\nAn AJAX HTTP error occurred.\nHTTP Result Code: 200\nDebugging information follows.\nPath: /layout_builder/choose/section/overrides/node.16/1\nStatusText: OK\nResponseText: \nFatal error: Trait 'Drupal\\bootstrap_styles\\ResponsiveTrait' not found in /var/www/reevesweb/web/public/modules/contrib/bootstrap_layout_builder/src/Plugin/Layout/BootstrapLayout.php on line 28", name: "AjaxError", stack: "@https://example.localhost/core/misc/ajax.js?v=9.2.0:110:32\n@https://example.localhost/core/misc/ajax.js?v=9.2.0:674:3\n" }
I've attached an image to show what is added when I choose add section and select Bootstrap 3 cols, Edge to Edge, No Gutters, 33%33%33%, 33%33%33%, 100%.
Are others seeing the same problem?