The redirect-module adds a new field to the redirect-database. But when this module is enabled the field is not added to the 'redirect'-table, but to all copies of the table for each domain (domain_XX_redirect).

When you add a new domain, the original redirect-table is cloned to create a new domain-specific version. But this table does not contain the new field. Thus we run into exceptions: PDOException: SQLSTATE[42S22]: Column not found -- unknown column 'base.status' in 'field list'.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

JoshaHubbers created an issue. See original summary.

JoshaHubbers’s picture

This patch creates the table based on the schema if it exists. otherwise it clones the table.

JoshaHubbers’s picture

Status: Active » Needs review
TVoesenek’s picture

Status: Needs review » Reviewed & tested by the community

Tested, looks good.

paulvandenburg’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.