Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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 CreditAttribution: Primsi at MD Systems GmbH for MD Systems GmbH commentedNo test atm.
Comment #4
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House for Memorial Sloan Kettering Cancer Center commentedThanks for the patch.