- Issue created by @dinarcon
- Status changed to Needs review
over 1 year ago 3:18am 4 August 2023 - last update
over 1 year ago 14 pass - 🇳🇮Nicaragua dinarcon
Attaching documentation patch for review. Shall we also mention this in the
README.md
file? - 🇺🇸United States mlncn Minneapolis, MN, USA
Very impressive investigation and documentation! Would it be possible to throw a clear error when encountering a space… since someone (probably me) won't read the documentation and still be confused when the "inexplicable" error happens?
-
heddn →
committed 91b1488b on 8.x-3.x authored by
dinarcon →
Issue #3379184 by dinarcon, heddn: Document that source IDs can only...
-
heddn →
committed 91b1488b on 8.x-3.x authored by
dinarcon →
- Status changed to Fixed
over 1 year ago 5:53pm 10 August 2023 - heddn Nicaragua
Added some validation and tests and landed this. Thanks for the documentation and heads up that this is a problem.
Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
11 months ago 10:45am 20 February 2024 - 🇫🇷France b2f
We should have address this problem to the root, we don't need to remove such important existing functionalities.
I patched lookupSourceId Sql.php method in Core so that source keys spaces (or any other special characters for that matter?) are not removed anymore:
https://www.drupal.org/project/drupal/issues/3422603 🐛 Fixing source IDs with spaces in Sql.php Fixed
- 🇺🇸United States caesius
This update should be reverted per the above comment and issue 💬 Revert requirement that IDs not include spaces Needs work
I'll also note that per the issue title and description, the resolution should have been to "Document that column names have to be alphanumeric characters or underscores" and yet the actual implementation prevents the use of spaces in column names entirely. This breaks backward compatibility with migrations that were created before this change was implemented and does not document an upgrade path.