Closed (won't fix)
Project:
File (Field) Paths
Version:
6.x-1.3
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Sep 2009 at 15:44 UTC
Updated:
22 Nov 2009 at 01:12 UTC
I have a filepath set for a content type, so that all files uploaded for that content type should end up in sites/default/files/content-type/. When I attach files during a node creation, they are placed in the correct folder. However, if I later go back and edit that node and upload additional files, they get placed in sites/default/files/. I then have to run a retroactive cleanup every so often to get them back into sites/default/files/content-type/.
Comments
Comment #1
danepowell commentedActually this is very odd... I just edited another node in order to attach more files, and they were placed in the correct folder.
Comment #2
danepowell commentedAhhh... okay, this is just a bit of a misunderstanding, and a problem with the user interface. When files are first attached, they are uploaded to the root file directory. It's not until you actually submit the node that the file is relocated. Is it possible to immediately place the files in the correct directory or add some sort of alert that the files will be moved upon submitting the node, to avoid this kind of confusion in the future?
Comment #3
danepowell commentedNot really that big of a deal I guess.