EBMS Tickets

Issue Number 825
Summary Status messages not displaying correctly
Created 2024-08-13 10:46:05
Issue Type Bug
Submitted By Kline, Bob (NIH/NCI) [C]
Assigned To
Status Open
Resolved
Resolution
Path /home/bkline/backups/jira/oceebms/issue.457509
Description

The is a bug in Drupal 10.3 and higher which breaks the proper rendering of status messages. If we need to deploy Ironwood before this gets fixed in Drupal core we have a couple of options.

  1. Disable the BigPipe module. This module theoretically improves performance, though some sites have reported that disabling the module as a workaround to this bug actually resulted in a slight performance improvement.

  2. Come up with our own temporary patch to fix the bug.

See also https://www.drupal.org/project/uswds_base/issues/3465493.

Comment entered 2025-01-17 07:19:48 by Kline, Bob (NIH/NCI) [C]

They've started working on this in core:

https://www.drupal.org/project/drupal/issues/3396318

Comment entered 2025-01-17 08:45:43 by Kline, Bob (NIH/NCI) [C]

I have disabled the BigPipe module on EBMS DEV for now, so alerts are being displayed properly. We'll see what effect that has on performance (if any), though that may be hard to tell, since that server is sluggish to start with. 😛

Comment entered 2025-02-07 07:05:15 by Kline, Bob (NIH/NCI) [C]

Did some testing of a patch to fix the broken styling for Drupal messages at Mike Feranda's request (he's the maintainer of the uswds_base theme and it's his patch. Without the patch, the messages appear without any styling (as reported above). With the patch, the messages don't appear at all, with or without BigPipe installed. Without the patch, and without BigPipe, the messages appear and are correctly styled (but we already knew that part). This is using Drupal core 10.4.1 and 10.4.2 (same behavior with both) and uswds_base 3.9.0. Reported back to Mike.

Elapsed: 0:00:00.000705