Skip to content
Snippets Groups Projects
Commit c0f0df5c authored by Angie Byron's avatar Angie Byron
Browse files

Issue #2552547 by Haza, zniki.ru, bzrudi71: Migrate fails to build the map on PostgreSQL

parent dc644d1d
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -135,7 +135,7 @@ protected function initializeIterator() { ...@@ -135,7 +135,7 @@ protected function initializeIterator() {
$delimiter = ''; $delimiter = '';
foreach ($this->getIds() as $field_name => $field_schema) { foreach ($this->getIds() as $field_name => $field_schema) {
if (isset($field_schema['alias'])) { if (isset($field_schema['alias'])) {
$field_name = $field_schema['alias'] . '.' . $field_name; $field_name = $field_schema['alias'] . '.' . $this->query->escapeField($field_name);
} }
$map_join .= "$delimiter$field_name = map.sourceid" . $count++; $map_join .= "$delimiter$field_name = map.sourceid" . $count++;
$delimiter = ' AND '; $delimiter = ' AND ';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment