Hello,

first I'd like to thank you for this great module, which I use quite often in my projects. :)

Now I had to create a file field with a file force formatter on taxonomy terms and render it:

  $downloads = field_view_field('taxonomy_term', $term, 'field_downloads', array('type' => 'file_force_file_default'));
  print render($downloads);

Everything's fine so far. Now when I click on this file force formatted link, I'll see an "access denied" page and no download is triggered. I'm logged in as user1. When I use Drupal's default formatter, the file is accessable.
I also use this field on a node with the same settings and everything works fine. I use a public file system.
I also tested it in Views with View's file formatter - same result: "access denied".

Maybe Drupal's thinking that this is a private path because of the ".../system/..." part in the file force path? ...but why only on Taxonomy term fields? :/

Help is much appreciated.

Thank you and regards!

Comments

TomasBru’s picture

I face the same problem as well. Can anyone look into this?