Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293065

file_validate_is_image() returns misleading message if GD is missing

$
0
0

Recently I deployed clone of production website to a test server which has been provisioned without PHP's GD library.
It wasn't a fresh install so this problem has been not been picked up by installer.

Function file_validate_is_image() returns 'Only JPEG, PNG and GIF images are allowed.' if GD library is missing.

I know that these circumstances are rare but anyway this message should be more accurate.
It was Drupal 7 but proposed patch is for Drupal 8 first.

AttachmentSizeStatusTest resultOperations
image_validate_is_image_missing_toolkit.patch647 bytesIdleFAILED: [[SimpleTest]]: [MySQL] 55,620 pass(es), 1 fail(s), and 0 exception(s).View details | Re-test

Viewing all articles
Browse latest Browse all 293065

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>