No option for Bootstrap 5

Created on 4 February 2025, 9 days ago

Problem/Motivation

After upgrading to 3.0.2, the adding of a new Bootstrap Site Alert content produced an error:
Error: Call to undefined function bootstrap_site_alert_severity_options() in options_allowed_values() (line 89 of /code/web/core/modules/options/options.module).
Looking at the settings at /admin/config/system/bootstrap-site-alert, shows that there is no longer an option for Bootstrap version 5. Tried uninstalling bootstrap_site_alert module, then installing again, but it still did not show an option for 5.

Steps to reproduce

  1. Upgrade bootstrap_site_alert from 2.0.x to 3.0.x
  2. Create a new Bootstrap Site Alert /node/add/bootstrap_site_alert
  3. Causes error and can not proceed any further

Proposed resolution

Add a Bootstrap version 5 option to /src/Form/BootstrapSiteAlertAdmin.php file. I have not done any further investigation, but instead downgraded to v2.0.

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States andreayaya

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

Comments & Activities

Production build 0.71.5 2024