I'm running a Migration of taxonomy terms which have an unlimited file_entity field on them. When I import using migrate_ui and I have a term which has a source file named something like: This_Is_Mixed_Case.pdf, the file entity's title remains the same, preserving the case and underscores. However, when I run the import with Drush, the filename is rewritten to thisismixedcase.pdf.

This behavior was hard to diagnose and unexpected. Perhaps this is user error, but I've not been able to find any related documentation.

For clarity, my desired result is to use drush and preserve the source file name.

Comments

gabesullice created an issue. See original summary.

mikeryan’s picture

Category: Bug report » Support request
Status: Active » Postponed (maintainer needs more info)

You refer to the "file entity's title" - where exactly are you seeing the difference in case/underscore? Somewhere in the web UI? In the file_managed table? In the filenames on disk?

I can't think of anything in the migrate module's code that would do this... Are you picking up different PHP versions (or configurations) when running in drush versus the web server?