I have and old site where there are three languages installed: English, German and Dutch. Dutch is the default one.
When i do the migration to my new drupal 8 site the default langcode is switched from English to Dutch as per the default_langcode migration.
The problem is that when i do the rollback (both default_langcode and language) the default language stays on Dutch but the language rollback tries to remove it resulting in an exception and a stuck language migration that i have to keep reseting in order to continue with my work.
I am trying to get the default_langcode migration rollback to work but i see no way to find out what was the default language on the new site prior to the migrations.
Is this even doable?
Comments
Comment #8
quietone commented@MaskOta, thanks for creating an issue about the rollback of languages.
What you have discovered is correct, the rollback of configuration migrations do not 'reset' configuration values to the value it had before the migration. That isn't information the migration knows about.
Just tried it myself and after `drush mr default_language` I had to manually change the default language back to the original (en) before `drush mim language` would work. By your description you destination site also has a default language of english. So, that could be restored manually. Or one could restart from a fresh empty database. And since the language migrations run early that is certainly an option.
There isn't anything to fix here, this is working as designed.
Changing to support request and closing as works as designed.