Fixing source IDs with spaces in Sql.php

Created on 20 February 2024, 4 months ago
Updated 19 March 2024, 3 months ago

Problem/Motivation

We cannot use spaces in migrate source CSV because of the way fetchAssoc in Sql.php returns array our keys without spaces.

Steps to reproduce

Use Migrate Source CSV extension to migrate from a CSV source containing spaces in its header.

Proposed resolution

We keep track of spaces in source and maps them to values returned by Sql fetchAssoc

Remaining tasks

Please review my following patch and eventually update it to 10.2.x-dev if needed.

User interface changes

None

API changes

None

Data model changes

None

Release notes snippet

🐛 Bug report
Status

Fixed

Version

10.2

Component
Migration 

Last updated about 9 hours ago

Created by

🇫🇷France B2F

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024