Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293522

system_maintenance migrations uses incorrect maintenance mode variable in Drupal 7 migrations

$
0
0

Problem/Motivation

The system_maintenance migration lists:

source:
  plugin: variable
  variables:
    - site_offline_message
  source_module: system

But site_offline_message hasn't been in use since #201415: Add permission to access site in maintenance mode, which was committed over a decade ago in https://git.drupalcode.org/project/drupal/commit/a9762cd3bf93ac8bbcafec2...😬

Proposed resolution

Change it to:

source:
  plugin: variable
  variables:
    - maintenance_mode_message
  source_module: system

Remove the variable 'site_offline_message' from the d7 fixture and keep the existing 'maintenance_mode_message', which has the same text so there will be no changes to the existing migration test.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 293522

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>