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). How reproducible: Always Steps to Reproduce: 1. Find any SVG image and download it. 2. Attempt to upload the SVG to the server. Actual results: 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." Expected results: The image should be uploaded successfully. Additional info: 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.