Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
file.module
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Jul 2015 at 15:27 UTC
Updated:
25 Sep 2015 at 22:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
duaelfrThat patch fixes the issue.
Comment #2
cilefen commentedPHP fatals are Major.
Comment #3
dawehnerSeems fine for me. I'm not sure whether we need test coverage for that kind of functionality.
Comment #4
catchGiven this was a fatal I think we really do want test coverage here.
Comment #5
mr.baileysSample value generation is already tested in
\Drupal\file\Tests\FileItemTest:However, the fatal error is only thrown when a directory is specified (and does not yet exist). I changed the field configuration for the file field in FileItemTest, this should trigger the failure when the patch is not applied.
Comment #6
mr.baileysWell, that is unexpected -- obviously needs work since the test-only patch succeeds -- will try and take a look later today...
Comment #7
mr.baileysComment #12
duaelfrBugfix already RTBC'ed by @dawehner in #3.
Tests added by @mr.baileys in #7 look good to me.
Comment #13
alexpottCommitted 852a07d and pushed to 8.0.x. Thanks!