Posted by Damien Tournoud on July 29, 2010 at 2:30am
| Project: | Drupal core |
| Version: | 7.x-dev |
| Component: | file.module |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
When using a private filesystem, neither files nor images work, because file_get_file_references() is still severely broken.
[#846296] tested part of file_get_file_references(), but not the part where the check is done across all the fields (ie. $field is NULL).
Comments
#1
This was noted in the original post of [#846296].
#2
The correct fix is simply, but we need a test of this.
#3
Tested, works!
#4
Committed to CVS HEAD but setting to 'needs work' because we still need a test.
#5
Extended tests:
- Added check that file downloadable for public scheme
- Added check for changing 'uri_scheme' setting
- Added check for private method download works
#6
Looks good!
#7
Commit #402088 by Dries at 04:50
- Patch #867928 by Damien Tournoud, andypost: more tests for file and image handling.
#8
Automatically closed -- issue fixed for 2 weeks with no activity.