Posted by tanc on August 4, 2009 at 11:41pm
Jump to:
| Project: | File Aliases |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Hi Deciphered. I noticed that the aliases aren't updating when a node is edited and some part of the node changes (e.g. a select list item) which a token making up part of the part is linked to. Is it possible to make aliases update when the node is saved?
An example:
I have a node whose file alias path is made from these tokens: downloads/[field_download_state-raw]/[field_download_type-raw]/[filefield-onlyname-original].[filefield-extension-original]
When I edit the node and change the value of the [field_download_state-raw] token by editing one of the nodes fields the file alias isn't updated for the file path.
What do you think?
Comments
#1
Hi Tanc,
Sorry I haven't responded on this issue yet, but I have been on holidays in the NZ.
This is pretty much the same thing as #373094: Retroactive like behavior when changing token source, but I won't mark it as a duplicate at this stage.
It will definitely be looked at as soon as I have some time, but it is something a lot of people have been asking for and something that I agree is needed.
Cheers,
Deciphered.
#2
Inherited from #373094: Retroactive like behavior when changing token source fix, no changes to File Aliases necessary.
Get the latest dev of FileField Paths, which should be available in roughly 8 hours, or checkout the DRUPAL-6--1 branch from CVS and you should be good to go.
Cheers,
Deciphered.
#3
Re-opening, apparently it didn't quite work, the changes didn't break anything, they alias just isn't getting updated.
Re-looking into this now.
#4
This time for sure. Committed to HEAD.
#5
Automatically closed -- issue fixed for 2 weeks with no activity.