When trying to retrieve files without extensions, following error message occurs:
Notice: Undefined index: extension in Drupal\stage_file_proxy\FetchManager->writeFile() (line 151 of modules\contrib\stage_file_proxy\src\FetchManager.php).
Made a patch to fix this.
| Comment | File | Size | Author |
|---|---|---|---|
| #14 | 2926771-14.patch | 591 bytes | sourabhjain |
| #5 | stage_file_proxy-D7-fix-extension-notice-2926771-5.patch | 591 bytes | tobiasb |
| fix-extension-notice.patch | 607 bytes | iamweird |
Issue fork stage_file_proxy-2926771
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
firewaller commentedThis issue also happens in Drupal 7. Patch attached.
Comment #3
geek-merlinWe can bikeshed if this can be done more elegant, but code is trivial and totally makes sense.
Comment #5
tobiasbPatch for D7 can not apply in the format.
Comment #7
tobiasbComment #8
gregglesThe issue is for d8 but the d8 patch doesn't apply. The d7 patch should wait until d8 is fixed, ideally.
Comment #9
smustgrave commentedSeems like an simple innocent check. Can reroll the 8.x patch as needed.
Comment #12
smustgrave commentedComment #14
sourabhjainThis issue is still exist on Drupal 7.x-1.10 version. Creating patch for that.