Skip to content
Snippets Groups Projects
Unverified Commit 62395e72 authored by Alex Pott's avatar Alex Pott
Browse files

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

(cherry picked from commit 38fdab6b)
parent be2fa200
No related branches found
No related tags found
9 merge requests!1445Issue #2920039: Views' User Name exposed group filter validation,!1298Issue #3240993: Let layout builder render inline block translations,!774Issue #3174569: Example node template file name is incorrect,!497Issue #2463967: Use .user.ini file for PHP settings,!433Resolve #3163663 "Too many open files",!233Resolve #2693787 "Taxonomy term name",!133Resolve #2666286 "Clean up menuui",!112Resolve #3187004 "Drupaldatetime serialization issue",!53Resolve #3181870: Correct typo "the the" in "core/classList" deprecation message.
......@@ -23,9 +23,16 @@ public function query() {
->condition('objectid', '#allowed_values');
// Add all i18n and locales_target fields.
$query
->fields('i18n')
->fields('i18n', [
// All table fields except lid and type.
'textgroup',
'context',
'objectid',
'property',
'objectindex',
'format',
])
->fields('lt');
$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());
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment