I patched with #2097975: Files ought to have a Revisions tab just like nodes and found that revisions of private files are not accessible.

There are two solutions, either fix file loading by uri so that file_uri_to_object (from file_entity) can load the correct file or provide hook_file_download and do the right thing.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bircher’s picture

Attached are patches against 7.x-1.x and when the #3 from #2097975: Files ought to have a Revisions tab just like nodes is applied first.