For filenames that get modified by the transliteration module the mail import fails because MailhandlerCommandsFiles::process() stores the file record with unsanitized filename but FeedsEnclosure will later try to copy that file to the final destination and sanitizes the filename before looking for it. That will cause an error and the attachment will later be missing.
I will submit a patch in a minute.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | file_uri_problem_when-2534984-6.patch | 1.05 KB | k4v |
| #1 | file_uri_problem_when-2534984-1.patch | 970 bytes | jurgenhaas |
Comments
Comment #1
jurgenhaasComment #4
jurgenhaasI don't think the failure of the test is because of my patch, there must be a different reason. Can anyone check this please?
Comment #6
k4v commentedThis works for me :). For me, the mail import did not fail, but I had other problems with filenames that were not transliterated. With the module search_api_attachments I could not process them with the Tika engine.
Here's a reroll. Thanks for the patch, I was looking for some time for the right spot to fix this.
Comment #7
k4v commentedComment #8
k4v commented