Download & Extend

[node: nid] working occasionally

Project:File (Field) Paths
Version:7.x-1.x-dev
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)

Issue Summary

It's very weird but sometimes when using [node:nid] in the file path it doesn't work, even though the settings are exactly the same. If the path is set to "test/[node: nid]", a folder named test will be created in the directory but the file uploaded was just in sites/default/files/.

But sometimes when I add another file filed and do the same setting it works. This really baffles me. Did I miss anything? Any feedback would be highly appreciated.

Comments

#1

I guess that this module doesn't support token [node:nid]

#2

Status:active» postponed (maintainer needs more info)

File (Field) Paths does support Node tokens, it was created specifically for Node tokens.

It's possible that it's a workflow issue, because Node tokens can't be processed until you save the Node, so if you're seeing the issue prior to saving the Node it should be remedied after you save the Node.

Please confirm whether this is the case.

nobody click here