Closed (duplicate)
Project:
Migrate Extras
Version:
6.x-1.x-dev
Component:
Filefield
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Jul 2010 at 14:42 UTC
Updated:
23 Jun 2011 at 23:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
wapnik commentedI see now this is more an issue for filefield and its field_file_save_file function.
Comment #2
quicksketchThis message is typically only shown when a user tries to upload a file that is not a valid image, such as if they upload a BMP file or something. The message is accurate in the usual situations where you would encounter it. The message that the file doesn't exist would be extremely rare in a situation where a user is uploading a new file (since it obviously exists if they just uploaded it).
I'd probably suggest that Migrate Extras check that the file exists before trying to save it (however it does that).
Comment #3
wapnik commentedYes sounds logical.
However Migrate Extras does not check if the file exists, it relies on the field_file_save_file function to do the validations. So here is a patch with my implementation.
Comment #4
wapnik commented#825352 duplicate
suckafucka so i was wasting my time
whose message is prettier? :)
Comment #5
mikeryan#825352: Unable to migrate nodes containing empty (not required) filefield paths