Unverified Commit 38fdab6b authored by alexpott's avatar alexpott
Browse files

Issue #3100046 by alexpott, Wim Leers, super_romeo, quietone: Duplicate column name 'type'

parent af036f62
......@@ -23,9 +23,16 @@ public function query() {
->condition('objectid', '#allowed_values');
// Add all i18n and locales_target fields.
->fields('i18n', [
// All table fields except lid and type.
$query->addField('fc', 'type');
$query->addField('fci', 'bundle');
$query->addField('i18n', 'lid', 'i18n_lid');
$query->addField('i18n', 'type', 'i18n_type');
......@@ -105,6 +105,9 @@ public function testFieldOptionTranslation() {
$this->assertSame($allowed_values, $config_translation->get('settings.allowed_values'));
// Ensure that the count query works as expected.
$this->assertCount(16, $this->getMigration('d7_field_option_translation')->getSourcePlugin());
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment