update.php doesn't verify major core version

Created on 4 March 2023, over 1 year 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 about 1 hour 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