Problem/Motivation
Drupal\taxonomy\Tests\TaxonomyImageTest fails on a vanilla Drupal 8 install.
Steps to repeat:
- Install Drupal 8.0.x-dev from current HEAD,
- Enable the testing framework,
- Run Drupal\taxonomy\Tests\TaxonomyImageTest
Expected behaviour:
Test runs and passes.
Actual behaviour:
Test bails with
"An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /batch?id=2&op=do_nojs&op=do
StatusText: OK
ResponseText:
Fatal error: Call to a member function getName() on a non-object in ..... web/core/modules/taxonomy/src/Tests/TaxonomyImageTest.php on line 81
"
Proposed resolution
Find out why this test is failing and either fix test or fix the cause.
Remaining tasks
Confirm the problem.
Identify the cause.
Fix the issue.
User interface changes
None.
API changes
None.
Comments
Comment #1
finn lewisIt sounds like this may be working on some other peoples local installs, so is possibly related to my local setup.
I note that the test is to confirm access control on private image files, so could perhaps be local permissions issue.
Comment #2
larowlanMake sure your file permissions allow uploads during the test