Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#1 | private_file_revisions-2383231-1-applied-patch-2097975-3.patch | 1.31 KB | bircher |
#1 | private_file_revisions-2383231-1.patch.patch | 1.39 KB | bircher |
Comments
Comment #1
bircherAttached 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.