Closed (works as designed)
Project:
File (Field) Paths
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
16 Nov 2010 at 17:59 UTC
Updated:
12 Mar 2024 at 07:36 UTC
Comments
Comment #1
quicksketchFileField does not allow you to rename files based on description, my guess is this is an issue for FileField Paths.
Comment #2
pomliane commentedSubscribing.
Comment #3
bariew commented[field_files-filefield-description] - takes only first value, but
[filefield-description] - takes each of them
Comment #4
pomliane commentedComment #5
decipheredWhat bariew said ^.
Although, Careless' description implies he used the latter not the former, in which case it would be correct.
Can I get confirmation that what bariew said is working correctly in the altest dev?
Cheers,
Deciphered.
@quicksketch, maybe you can put a message at the top of the FileField create issue form stating something like: If your issue is related to Node or Field tokens, there is a good chance it belongs in the File (Field) Paths issue queue, not here.
Comment #6
pomliane commentedYes what bariew said is what happens in dev.
But:
'in ALT and TITLE attributes for images.So, in the end neither [field_files-filefield-description] nor [filefield-description] are fully usable on mutliple fields—at least in my case and if I don't miss anything...
Cheers,
Pomliane
Comment #7
decipheredYes it is expected behaviour:
- [field_files-filefield-description] is a Node token and as the Node can contain multiple values for that field but the Token module has no way of handling the multiple values it returns the first value.
- [filefield-description] is a Field token and a Field can only contain a single value, so it is the token you should be using in most cases.
In general File (Field) Paths is not a supplier of tokens, it's a consumer of Tokens, so if you have complaints about the token itself then that is a another issue with another module.
Cheers,
Deciphered.
Comment #8
pomliane commentedThank you Deciphered for these explanations.
Now, I have to look for a related issue in FileField and hope it's the good queue. :)