-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
When running a Drupal site with drush runserver and Clean URLs enabled, attempting to access an image for an image style (which hasn't yet been generated) will give 404, rather than cause Drupal to generate the image.
Disabling Clean URLs will allow the image to be correctly generated, but obviously affects lots of other things on the Drupal site.
We (the Panopoly project) are using drush runserver in our automated Behat tests, and so anything that uses an image style is getting a broken image and messing up the tests. But disabling Clean URLs also breaks a number of our tests which deal with paths, aliases and redirects. And, of course, no one runs with Clean URLs disabled in real life, so it would make our tests more artificial...
This issue was reported on D.o at one time, but got no response before the migration to GitHub: https://www.drupal.org/node/1961656