Modal Template Typo Causing WSOD

Created on 20 May 2024, 7 months ago
Updated 18 September 2024, 3 months ago

Problem/Motivation:

There is a typo in the Twig template for Modals, which is causing any site with a Modal to return a Drupal Error (WSOD) right now.

Any site that is updated to the latest 2.x version of this module will automatically inherit this problem.

Steps to reproduce:

Update Bootstrap Paragraphs to 2.0.9, log into your site, use the paragraph block 'Modal' type that is supplied via Boostrap Paragraphs to create a modal as normal. Any page with the modal displayed will WSOD and return a Drupal error in the logs referencing: https://git.drupalcode.org/project/bootstrap_paragraphs/-/blob/8.x-2.0-b...

On line 182, there is a typo in {% if paragraph.bp_modal_footer it not empty %}

The typo is which should be instead.

Proposed resolution:

I see this has been fixed in 8.x-2.0-beta10, so perhaps pushing out a new release ASAP so folks don't run into this site breaking error.

🐛 Bug report
Status

Needs work

Component

Code

Created by

🇺🇸United States sean.walker@nreca.coop

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024