Fails to create database tables

Created on 23 September 2025, 16 days ago

Problem/Motivation

In some cases ie. installations with database prefixes or via drush cim instead of drush en regex_redirect, the Regex Redirect module fails to create its required prefix_regex_redirect or regex_redirect tables.

Steps to reproduce

  1. Set up multisite with database prefixes
  2. Enable Regex Redirect via drush cim -y (config import) instead of drush en regex_redirect
  3. Access a prefixed site and try to use Regex Redirect functionality
  4. Get error: SQLSTATE[42P01]: Undefined table: relation "prefix_regex_redirect" does not exist

Proposed resolution

Add proper hook_install() and update hooks to regex_redirect.install that explicitly install entity schema using EntityDefinitionUpdateManager.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇧🇪Belgium baikho Antwerp, BE

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024