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:
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:
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