when used with the GIN theme, in a nested paragraph scenario, this throws errors and breaks the UI.

Created on 12 April 2023, over 1 year ago
Updated 11 July 2023, over 1 year ago

Problem/Motivation

Drupal 9.5.7
GIN admin theme (latest release)

I have a node type that has a paragraph reference field.
Some of those paragraphs have nested paragraph references...
These have media library reference forms.
Enabling the module and enabling the "edit button" in FORM DISPLAY, generates this error when you try to edit the nested paragraphs.

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /node/19/edit?ajax_form=1&_wrapper_format=drupal_ajax
StatusText: parsererror
ResponseText: Error: Cannot use object of type Drupal\Core\Render\Markup as array in claro_preprocess_fieldset__media_library_widget() (line 1440 of /app/web/core/themes/claro/claro.theme)."

Clicking the EDIT button in this interface causes the component I'm trying to edit, show all of the components of the page as a child...

A recursive mess...

πŸ› Bug report
Status

Postponed: needs info

Version

3.0

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States alphex Atlanta, GA USA

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

Comments & Activities

  • Issue created by @alphex
  • Status changed to Postponed: needs info over 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

    Have you tried updating the gin theme? It's working for me with the latest 8.x-3.0-rc4 release.

Production build 0.71.5 2024