i am using default image with cck fifefield image and filefield_paths a
setting up node with cck field, filefield path and default image
after save/resave node without uploaded image in this field i see error
The selected file could not be copied, because no file by that name exists. Please check that you supplied the correct filename.
in original (before t(); )
The selected file %file could not be copied, because no file by that name exists. Please check that you supplied the correct
filename.
includes/file.inc:249
%file is empty in our case, because we have no image uploaded, but we have default image, so we must copy default image to path, provided by cck field settings.
if anybody have no problems with filefield path and default image let me know, please.
but if it so - it's a bug
Comments
Comment #1
ionmedia CreditAttribution: ionmedia commentedhave somebody work filefield path and default image ?
Comment #2
deepbluesolutions CreditAttribution: deepbluesolutions commentedWere seeing this problem as well, seems its an all or nothing, would like to use this.
Thinking about the problem, I don't think the default image should be copied, as it seems silly to hold multiple copies of the same image.
But filefield_path needs to handle this exception, ie it doesnt need to do anything, if an image cck field has not had an image uploaded.
Thoughts?
Comment #3
Deciphered CreditAttribution: Deciphered commentedNo longer supporting Drupal 6 issues for this module.