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 |
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.
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.
Come up with our own temporary patch to fix the bug.
See also https://www.drupal.org/project/uswds_base/issues/3465493.
They've started working on this in core:
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. 😛
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