Affects Version/s: 1.1.4
Fix Version/s: 1.1.6
I get a NullpointerException in the assets app when uploading a SVG (find stacktrace attached).
I've found this:
But here the mimetype is image.
I debugged so far that the error is this in FocalAreaField class:
ImageIO only supports GIF, PNG, JPEG, BMP, and WBMP, see
Therefor ImageIO returns null as expected although the InputStream is there for the tmp-image and the Optimizer fails with a NullPointerException.
Well, it doesn't make sence to have focal images for SVGs.
Is there any way to exclude SVGs in the configuration?
PS: the Exeption is silent. So the image gets uploaded and can be chosen, but the edit button is disabled.