Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Error in file_unmanaged_copy "The specified file %file could not be copied, because the destination directory is not properly configured. ..." cause by file_entity_uuid_presave that didn't check file size and destination directory. Some streamwrapper classed, like MediaReadOnlyStreamWrapper didn't provide destination directory.
Initial patch attached.
Comment | File | Size | Author |
---|---|---|---|
#7 | uuid-empty_file-2121031-7.patch | 1.1 KB | maijs |
| |||
#1 | uuid-empty_file-2121031-1.patch | 1.1 KB | pingers |
Comments
Comment #1
pingers CreditAttribution: pingers commentedRe-roll against alpha6.
Comment #2
RoSk0Comment #3
joseph.olstadMarking this as RTBC.
We've been using uuid-empty_file-2121031-1.patch for quite some time (more than 8 months) on previous revisions of uuid and this patch is now being used and tested in dev/qa/production evironments with uuid revision a7bf2db (the latest).
Please commit uuid-empty_file-2121031-1.patch
Comment #4
joseph.olstadI'm marking uuid-empty_file-2121031-1.patch as RTBC
as for the other one, it's no longer needed. So just commit uuid-empty_file-2121031-1.patch
Comment #5
joseph.olstadComment #7
maijs CreditAttribution: maijs at Wunder commentedI'm updating the patch to match the latest code changes.
Comment #8
skwashd CreditAttribution: skwashd at Dave Hall Consulting for Dave Hall Consulting commentedThanks for the patch. I finally committed it.
Comment #10
skwashd CreditAttribution: skwashd at Dave Hall Consulting for Dave Hall Consulting commented