USWDS Accordion and Process List is not working

Created on 8 May 2023, about 1 year ago
Updated 20 July 2023, 11 months ago

Problem/Motivation

We are using Drupal 9.5.9 and the dev version of USWDS integration. When we enable the module and add the uswds integration in the text editor we are able to use the alert and summary box. But when we click on the accordion or the process list nothing happens.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

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

Comments & Activities

  • Issue created by @irsar
  • I am seeing this error in the console for accordion
    "AJAX HTTP error occurred.\nHTTP Result Code: 200\nDebugging information follows.\nPath: /embedded-content/dialog?_wrapper_format=drupal_ajax&ajax_form=1\nStatusText: OK\nResponseText: Warning: Undefined array key "multiselect" in /app/web/modules/contrib/uswds_ckeditor_integration/src/Plugin/EmbeddedContent/Accordion.php on line 90\nWarning: Undefined array key "heading" in /app/web/modules/contrib/uswds_ckeditor_integration/src/Plugin/EmbeddedContent/Accordion.php on line 112"

    This error for the processlist,

    AJAX HTTP error occurred.\nHTTP Result Code: 200\nDebugging information follows.\nPath: /embedded-content/dialog?_wrapper_format=drupal_ajax&ajax_form=1\nStatusText: OK\nResponseText: Warning: Trying to access array offset on value of type null in /app/web/modules/contrib/uswds_ckeditor_integration/src/Plugin/EmbeddedContent/ProcessList.php on line 94

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Do you have the ckeditor5 embedded content module installed?

  • Yes I have it installed. Summary box and Alert components are working. I am getting errors only when I select Accordion or Process List

  • @smustgrave opened merge request.
  • Status changed to Needs review about 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States smustgrave
  • The change is working. Thank you!

  • Status changed to Fixed about 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States smustgrave
  • Status changed to Needs work about 1 year ago
  • All the components are working but when I try to edit the content of the added component, I am not able to edit it unless I use the source to edit the content.

  • Status changed to Postponed: needs info 11 months ago
  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Actually need more info as I'm not seeing this issue. Able to edit them just fine.

  • This was because of the issue with the embedded content module and its fixed now. Sorry I should have closed it.

  • Status changed to Fixed 11 months ago
  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Make sure you get your credit.

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.69.0 2024