[umbrello-devel] [umbrello] [Bug 316095] unable to export class diagram to image

Joris Steyn jorissteyn at gmail.com
Sun Sep 22 10:48:36 UTC 2013


https://bugs.kde.org/show_bug.cgi?id=316095

--- Comment #6 from Joris Steyn <jorissteyn at gmail.com> ---
Created attachment 82455
  --> https://bugs.kde.org/attachment.cgi?id=82455&action=edit
Fix mapping of file extension to mime type

This bug was introduced in commit 7e6729ba. When selecting JPEG for example,
the argument for UMLViewImageExporterModel::imageTypeToMimeType() is a string
containing all possible file extensions (jpg, jpeg) while the
imageTypeToMimeType method expects only one extension.

Attached patch allows this by matching the main file type and ignoring any
leading/trailing extensions.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list