When uploading file, it is temporarily saved under the path from original field. Since this field is hidden, I need to click aroundt a bit to provide the temporary upload paths I want. And files appearing in random places are bad for debugging.
Please don not hide field's original path input. When File (Field) Paths is enabled on a node, please rename the field to something like "Pre-save file location" with clear description that file will be uploaded there and only moved away on save (when the node new path uses actually exist).
Current state of UI can cause weird bugs, like "why can't I upload file, quota in it's directory is not reached?" when quota in the directory I think is no longer used is reached already.
Comments
Comment #1
neRok CreditAttribution: neRok commentedI agree that a specific temporary folder should be used, and I actually emailed this to Deciphered yesterday on a whim (had not yet read this issue). Using the core 'File directory' setting is a good idea.
Comment #2
Deciphered CreditAttribution: Deciphered commentedI disagree, the most logical location is the temporary:// directory, which I will be changing the path to shortly.
I contemplated making the temporary path configurable, but I honestly can't see a need to do so, however feel free to comment here if you have a reason.
Comment #3
Deciphered CreditAttribution: Deciphered commentedHey look, I even wrote the patch for it ;)
Closed as duplicate of #2383527: Force unprocessed uploads to temporary://