diff options
authorGabor Hojtsy2017-05-08 10:13:57 (GMT)
committerGabor Hojtsy2017-05-08 10:15:06 (GMT)
commit0ecf3cb8c84768134a23b17da91fdb5828649b46 (patch)
parent84d1e518788a7b513a4fa7bdcd1871f584bc5797 (diff)
Issue #2824671 by mikeryan, heddn, quietone: Document dangers of preserving IDs on migration
1 files changed, 3 insertions, 0 deletions
diff --git a/core/modules/migrate_drupal_ui/src/Form/MigrateUpgradeForm.php b/core/modules/migrate_drupal_ui/src/Form/MigrateUpgradeForm.php
index 26304a1..27e0146 100644
--- a/core/modules/migrate_drupal_ui/src/Form/MigrateUpgradeForm.php
+++ b/core/modules/migrate_drupal_ui/src/Form/MigrateUpgradeForm.php
@@ -803,6 +803,9 @@ class MigrateUpgradeForm extends ConfirmFormBase {
$info[] = $this->t('Make sure that the host this site is on has access to the database for your previous site.');
$info[] = $this->t('If your previous site has private files to be migrated, a copy of your files directory must be accessible on the host this site is on.');
$info[] = $this->t('In general, enable all modules on this site that are enabled on the previous site. For example, if you have used the book module on the previous site then you must enable the book module on this site for that data to be available on this site.');
+ $info[] = $this->t('Do not add any information on this site (including but not limited to user accounts, taxonomy terms, and node content) before upgrading. Any pre-existing information on the site risks being overwritten by the upgrade process. See <a href=":url">the upgrade preparation guide</a> for more information.', [
+ ':url' => '',
+ ]);
$info[] = $this->t('Put this site into <a href=":url">maintenance mode</a>.', [
':url' => Url::fromRoute('system.site_maintenance_mode')->toString(TRUE)->getGeneratedUrl(),