Red Hat Bugzilla – Bug 969892
Regression: SVG Images no longer work in the new UI
Last modified: 2013-07-01 19:38:49 EDT
Description of problem:
Try and save any SVG image and notice that it no longer can be saved in the new UI. This used to be possible in the Old UI, so setting this as a regression (see BZ #738922).
Steps to Reproduce:
1. Find any SVG image and download it.
2. Attempt to upload the SVG to the server.
You get an error message stating: "The image was not uploaded successfully. Make sure that all the images have the same format (i.e they are all JPG, all PNG etc). Otherwise, there may be an error connecting to the server."
The image should be uploaded successfully.
The workaround would be to upload the image directly using the REST API, but that isn't user friendly. This would work as the New UI appears to have no issues displaying SVG images that were uploaded from the Old UI.
This looks like an error on the server. It returns an error code of 500, with the text "java.lang.RuntimeException: java.lang.NoSuchMethodError: org.apache.batik.dom.util.HashTableStack.put(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;"
Right you are, sorry Matt I should have checked the response message.
This appears to be caused by maven transitive dependency issues from the 1.6-1 version of the batik libraries. Upgrading to 1.7 appears to have fixed these issues, see the dev server for an example.