While using node_save inside an install profile the files don't get put in the specified path.
Can anyone confirm this behaviour?

Does this have something to do with there being no active user? what other conditions are not present during an install profile's *.install file.

I have failed to determine a cause and have instead hacked a manual move and wrapped a custom node_save to make this work. Any help or thoughts are appreciated. Thanks.

Comments

Deciphered’s picture

Status: Active » Postponed (maintainer needs more info)

Can you give me an example install profile so that I can test?

I'm guessing it's a timing issue, that at the time of node_save() in the install profile the File (Field) Paths module is not yet active.

neRok’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

No more info provided, so closing the issue.