Modal Template Typo Causing WSOD

Created on 20 May 2024, about 1 month ago
Updated 22 May 2024, about 1 month 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 review

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States sean.walker

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

Comments & Activities

Production build 0.69.0 2024