Closed (duplicate)
Project:
FileField
Version:
6.x-3.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Aug 2009 at 02:31 UTC
Updated:
20 Oct 2009 at 19:16 UTC
After creating an upload field, and specifying a path: "example/path"
then uploading a file, and saving the node.. the file gets uploaded to a "tmp" directory in /files and not the specified path.
What could be the problem?
Comments
Comment #1
anfrage commentedPerhaps reason within update from 3.0 to 3.1?
I've got the same problem. But it worked in July 2009! I did the update to 3.1 on 26.08.2009. On 14.09.2009 I detected that it doesn't work any more:
The path
textinklre
given in the definition of a field with field type "file" and widget type "upload file"
doesn't have any effect. Instead of this the file is saved in
sites/default/sites
which is the patch mentioned in
site configuration/file system/file system path
Comment #2
szczym commentedcould any one confirm the issue ?
We are having hard time with related issue #524978: Storing file in CCK field does not honor filefield path setting
Comment #3
quicksketchI'm unable to confirm this problem with the current release. We'll need more information to determine if this is a problem FileField.
Comment #4
arthurf commentedI can confirm this with media mover 6.1.x with field_file_save_file() which works under 3.0. It could be how it is getting called (field_file_save_file($filepath, $validators, $destination_path)), not sure yet.
Comment #5
quicksketchThis is an issue with Media Mover, not FileField. See #524978: Storing file in CCK field does not honor filefield path setting as szczym pointed to above.