[
https://issues.apache.org/jira/browse/OFBIZ-10246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16606131#comment-16606131
]
Jacques Le Roux commented on OFBIZ-10246:
-----------------------------------------
Mmm, I had a closer look and because the new common theme is not present in
R16. It's a bit complicated. I just wonder if it's not workin in R16 and got
broken by the common theme. But this is hard to test. How did you test guys?
> 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
> Labels: backport-needed
> Fix For: 17.12.01, Upcoming Branch
>
> 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)