My default folder for files is /files. When using custom file fields with File (Field) Paths I define new folders such as /files/photos where I want the uploaded files to end up in. This is all working fine when the user selects the file and uploads it in the form. However if the user only selects the file and then submits the form the files end up in the default folder (/files) instead of the one I've specified (/files/photos). I believe this is a bug and shouldn't happen - and is rather annoying as files end up scattered around in the file system.

Comments

Deciphered’s picture

Status: Active » Postponed (maintainer needs more info)

I can't confirm this issue, files get moved when uploading them both via the widget or submitting the form (of course they get moved to the correct location after the node is saved).

If you can test via http://simplytest.me/project/filefield_paths you should also see the correct behaviour.

It's possible that something else is interfering.

If you can provide any more information I would be happy to help resolve the issue.

-Mania-’s picture

> If you can test via http://simplytest.me/project/filefield_paths you should also see the correct behaviour.

I tested it and it appeared to work as intended. Perhaps it was something else conflicting as you said.

Deciphered’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

I'm going to mark this as closed (cannot reproduce) for the time being, but if you do ever discover the cause of the issue feel free to re-open it. Earlier the better as I'm in the process of making a push for a stable release.

Deciphered’s picture

Issue summary: View changes

Modified the text a bit.