Posted by WorldFallz on November 8, 2011 at 4:09pm
2 followers
Jump to:
| Project: | FileField Sources |
| Version: | 7.x-1.4 |
| Component: | Source: Auto-complete |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
I'm in the process of upgrading the download_count module to d7, and the meta data tracked for file downloads includes the entity from which the file was downloaded. The problem is, 'reference existing' files are reporting the original entity to which they are attached instead of the current entity.
From what I can see it's because the _filefield_sources_field_access function doesn't include the entity in its field_access call. I'm trying to come up with a patch, but any pointers/suggestions would be very welcome (i'm still finding my way around the file api in d7).
Thanks.
Comments
#1
i just realized (duh), that the field_access check is only for the 'edit' op-- so back to the drawing board!