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

Migrate Drupal reports wrong version of Drupal if pointed at a Drupal 9 or 10 database

$
0
0

Problem/Motivation

Migrate Drupal UI reports the wrong version of Drupal under certain conditions.

Steps to reproduce

In the Migrate Drupal UI screen, if you select Drupal 6 or 7 as the source site, but enter credentials to the current Drupal 10 site, you get this message:

error

The code in question is checking the Drupal version by reading the key_value table from the provided database credentials entered, which in my Drupal 10 beta site is the following:

versions

As such, the error is correctly triggered, but the wrong version is reported.

This is probably a very rare case, but the error message is confusing and should report the correct version of Drupal (even if this was a mistake).

Proposed resolution

Report the correct version of Drupal, or change the error message to say something along the lines of the version of Drupal detected was newer than 6 or 7, please check your database credentials for the old version and try again (so its more ambiguous).

Remaining tasks

see #21

User interface changes

New error message if the source db is the same as the destination db

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 293620

Trending Articles



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