For example:
I am using Taxonomy and I have a flat list of vocab setup called Category which displays a list box of those categories when I create/edit the node. I have a path setup like so: [type]/[term-raw] for a content type, lets call it Document.

I create a new content type Document.
Give it my title
Select which category I want it in from the dropdown list of Taxonomy terms. let's call the category 'Food'
I upload a file then hit save.
The file shows up under sites/default/files/document/Food .... as it should

If i go back and edit that node and all I do is choose a different category say.... 'People' the file remains in sites/default/files/document/Food

I don't see how this kind of behavior is a feature so that's why I am submitting it as a bug.

CommentFileSizeAuthor
#2 01.jpg121.87 KBaryung
#2 02.jpg35.65 KBaryung
#1 uploadpath-properly-move-files.patch644 byteschey

Comments

chey’s picture

StatusFileSize
new644 bytes

I have attached a patch that fixes this problem.

aryung’s picture

StatusFileSize
new35.65 KB
new121.87 KB

Dear sir,

I've used Upload Path for a while, but the path doesn't work.

Drupal Version. 6.14

Is there any idea for correcting it ?

leelight’s picture

me too, same problem,
i set : users/u[user-id]
but still upload file under files/

torgormack’s picture

I am having the same issue.

Drupal version 6.15

KAP10’s picture

Same issue using ddblock. My uploaded images do not go into the stated file path. Any word on this?

Thanks,
Andrew