History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: FVG-146
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Mark Donszelmann
Reporter: Anonymous
Votes: 0
Watchers: 0
Operations

Clone this issue
Create sub-task
If you were logged in you would be able to see more operations.
FreeHEP Vector Graphics

Export Type selection case sensitive

Created: 14/Jan/04 11:27 AM   Updated: 05/Dec/06 12:48 PM
Component/s: SVG
Affects Version/s: 1.2.2
Fix Version/s: 2.0


 Description  « Hide
Some ExportFileType , the ones that extend ImageExportFileType, have extensions that are both upper and lower case ("gif" and "GIF"). The ones that extend just AbstractExportFileType only have the lower case extension ("svg").

 All   Comments   Change History      Sort Order:
Max Turri - 15/Jan/04 09:48 AM
Originally reported by Isidro (Isidro.Gonzalez.Caballero@cern.ch):

Exception in thread "main" java.lang.IllegalArgumentException: Unsupported
file type: SVG
        at hep.aida.ref.plotter.Plotter.writeToFile(Plotter.java:59)
        at hep.aida.ref.plotter.Plotter.writeToFile(Plotter.java:79)
        at hep.aida.ref.plotter.Plotter.writeToFile(Plotter.java:40)
        at Test.main(Test.java:33)

Mark Donszelmann - 15/Jan/04 11:19 AM
Did not make it case-insensitive, but added full uppercase extensions.

Mark Donszelmann - 05/Dec/06 12:48 PM
Did make it case insensitive in the end.