Announcement

Collapse
No announcement yet.

Issue : forwarding mail containing svg images error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Issue : forwarding mail containing svg images error

    Hello,

    It seems there's a bug with forwarding mails containing svg images (in our case in a signature) : Ox Appsuite interface shows "error inside the server" and the log file displays the following trace :

    Code:
    com.openexchange.exception.OXException: MSGCS-0003 Categories=ERROR Message='An I/O error occurred: No image reader available for format image/svg+xml' exceptionID=-204141133-7457470
    com.openexchange.exception.locale: fr_FR
    at com.openexchange.exception.OXExceptionFactory.crea te(OXExceptionFactory.java:154)
    at com.openexchange.exception.OXExceptionFactory.crea te(OXExceptionFactory.java:144)
    at com.openexchange.exception.OXExceptionFactory.crea te(OXExceptionFactory.java:117)
    at com.openexchange.mail.compose.CompositionSpaceErro rCode.create(CompositionSpaceErrorCode.java:232)
    at com.openexchange.mail.compose.AttachmentStorages.i sIllegalInlineImage(AttachmentStorages.java:331)
    at com.openexchange.mail.compose.AttachmentStorages.i sIllegalUpload(AttachmentStorages.java:293)
    at com.openexchange.mail.compose.mailstorage.MailStor ageCompositionSpaceService.spoolUploadFiles(MailSt orageCompositionSpaceService.java:1599)
    at com.openexchange.mail.compose.mailstorage.MailStor ageCompositionSpaceService.addAttachmentToComposit ionSpace(MailStorageCompositionSpaceService.java:1 025)
    at com.openexchange.mail.compose.json.action.AddAttac hmentMailComposeAction.doPerform(AddAttachmentMail ComposeAction.java:100)
    at com.openexchange.mail.compose.json.action.Abstract MailComposeAction.perform(AbstractMailComposeActio n.java:696)
    at com.openexchange.ajax.requesthandler.DefaultDispat cher.doCallAction(DefaultDispatcher.java:634)
    at com.openexchange.ajax.requesthandler.DefaultDispat cher.callAction(DefaultDispatcher.java:610)
    at com.openexchange.ajax.requesthandler.DefaultDispat cher.doPerform(DefaultDispatcher.java:578)
    at com.openexchange.ajax.requesthandler.DefaultDispat cher.perform(DefaultDispatcher.java:247)
    at com.openexchange.ajax.requesthandler.DispatcherSer vlet.handle(DispatcherServlet.java:454)
    at com.openexchange.ajax.requesthandler.DispatcherSer vlet.doPost(DispatcherServlet.java:357)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:706)
    at com.openexchange.ajax.AJAXServlet.doService(AJAXSe rvlet.java:557)
    at com.openexchange.ajax.SessionServlet.doService(Ses sionServlet.java:153)
    at com.openexchange.ajax.requesthandler.DispatcherSer vlet.service(DispatcherServlet.java:245)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:791)
    at org.glassfish.grizzly.servlet.FilterChainImpl.doFi lter(FilterChainImpl.java:124)
    at fr.capc.openexchange.cas.CasAbstractTicketValidati onFilter.doFilter(CasAbstractTicketValidationFilte r.java:209)
    at org.glassfish.grizzly.servlet.FilterChainImpl.doFi lter(FilterChainImpl.java:114)
    at fr.capc.openexchange.cas.CasAbstractAuthentication Filter.doFilter(CasAbstractAuthenticationFilter.ja va:160)
    at org.glassfish.grizzly.servlet.FilterChainImpl.doFi lter(FilterChainImpl.java:114)
    at com.openexchange.http.grizzly.servletfilter.Reques tReportingFilter.doFilter(RequestReportingFilter.j ava:109)
    at org.glassfish.grizzly.servlet.FilterChainImpl.doFi lter(FilterChainImpl.java:114)
    at com.openexchange.http.grizzly.servletfilter.Wrappi ngFilter.doFilter(WrappingFilter.java:195)
    at org.glassfish.grizzly.servlet.FilterChainImpl.doFi lter(FilterChainImpl.java:114)
    at com.openexchange.http.grizzly.service.http.OSGiAut hFilter.doFilter(OSGiAuthFilter.java:111)
    at org.glassfish.grizzly.servlet.FilterChainImpl.doFi lter(FilterChainImpl.java:114)
    at org.glassfish.grizzly.servlet.FilterChainImpl.invo keFilterChain(FilterChainImpl.java:83)
    at org.glassfish.grizzly.servlet.ServletHandler.doSer vletService(ServletHandler.java:202)
    at org.glassfish.grizzly.servlet.ServletHandler.servi ce(ServletHandler.java:154)
    at com.openexchange.http.grizzly.service.http.OSGiMai nHandler.doHttpService(OSGiMainHandler.java:302)
    at com.openexchange.http.grizzly.service.http.OSGiMai nHandler.service(OSGiMainHandler.java:263)
    at org.glassfish.grizzly.http.server.HttpHandler$1.ru n(HttpHandler.java:200)
    at com.openexchange.threadpool.internal.CustomThreadP oolExecutor$MDCProvidingRunnable.run(CustomThreadP oolExecutor.java:2593)
    at com.openexchange.threadpool.internal.CustomThreadP oolExecutor$Worker.runTask(CustomThreadPoolExecuto r.java:806)
    at com.openexchange.threadpool.internal.CustomThreadP oolExecutor$Worker.run(CustomThreadPoolExecutor.ja va:833)
    at java.lang.Thread.run(Thread.java:748)
    Caused by: java.io.IOException: No image reader available for format image/svg+xml
    at com.openexchange.imagetransformation.java.transfor mations.Utils.getImageReader(Utils.java:154)
    at com.openexchange.imagetransformation.java.services .JavaImageMetadataService.getDimensionFor(JavaImag eMetadataService.java:80)
    at com.openexchange.imagetransformation.Utility.getIm ageDimensionFor(Utility.java:208)
    at com.openexchange.ajax.helper.DownloadUtility.isVal idImage(DownloadUtility.java:966)
    at com.openexchange.mail.compose.AttachmentStorages.i sIllegalImageData(AttachmentStorages.java:340)
    at com.openexchange.mail.compose.AttachmentStorages.i sIllegalInlineImage(AttachmentStorages.java:317)
    ... 37 common frames omitted

    We use Ox on Debian 10 with the following versions :
    Interface version : 7.10.6 Rev35
    Server version : 7.10.6-Rev52


    ​Is there a way to fix it?

    Thanks.

    Regards.

    J?r?me



  • #2
    Hi,

    apparently this was fixed in our major version 8 already but was not backported to 7.10.6 (yet).
    I will check if that could be done.

    Comment

    Working...
    X