Problem/Motivation
This could happen if:
1. A user uploads a file
2. The user is deleted without purging his content or assigning it to Anonymous
3. Visiting a page where a link to the file shows up
Proposed resolution
Check that there is a user in the if block in webform_preprocess_file_link()
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3100656-fata-for-deleted-user-files.patch | 704 bytes | primsi |
Comments
Comment #2
primsi commentedNo test atm.
Comment #4
jrockowitz commentedThanks for the patch.