update.php doesn't verify major core version

Created on 4 March 2023, almost 2 years ago

Problem/Motivation

The Drupal core update mechanism does not verify the major version of the database. Drupal Core 9 will execute updates on a Drupal 10 database.

Steps to reproduce

Download and install Drupal Core 10.0.3 (minimal). Swap core, vendor and root files with those of Drupal 9.5.4. Run update.php.
There will be no warnings or errors.

Proposed resolution

Drupal update.php should verify the major core version of the database it's making changes to.

πŸ› Bug report
Status

Active

Version

9.5

Component
BaseΒ  β†’

Last updated 1 day ago

Created by

πŸ‡©πŸ‡ͺGermany deuteron

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

Comments & Activities

Production build 0.71.5 2024