ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Brohl (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-10246) EmailServices.sendMailFromScreen attachment rendering broken
Date Tue, 13 Mar 2018 19:54:00 GMT

    [ https://issues.apache.org/jira/browse/OFBIZ-10246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16397552#comment-16397552
] 

Michael Brohl commented on OFBIZ-10246:
---------------------------------------

Thanks Martin,

your fix is in
trunk r1826674
release17.12 r1826675

This might need a backport to release16.11 so I leave it open and tagged.

> EmailServices.sendMailFromScreen attachment rendering broken
> ------------------------------------------------------------
>
>                 Key: OFBIZ-10246
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10246
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Martin Becker
>            Assignee: Michael Brohl
>            Priority: Major
>         Attachments: OFBIZ-10246_EmailServices-attachment-MacroScreenRenderer.patch
>
>
> The MacroScreenRenderer for rendering email attachments is not initialized correctly
with the model template TYPE name (e.g. "xsl-fo") as constructor parameter, instead the model
template name like "screenfop" is given in. 
> Therefore the screen based rendering of a xsl-fo type template results in an empty fop
xml and the ApacheFopWorker quits with a "Premature end of file" error.
> I fixed this within the patch file attached by defining an additional constructor for
the MacroScreenRenderer to make the API more intuitive to use.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message