[jira] [Updated] (OFBIZ-6360) Form widget rendering broken for EmailServices.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-6360) Form widget rendering broken for EmailServices.java

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-6360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Forrest Rae updated OFBIZ-6360:
-------------------------------
    Attachment: OFBIZ-6360-release13.07.patch

I attached a patch for release13.07.  Please updated the affected versions to also 14.12, and 13.07.

> Form widget rendering broken for EmailServices.java
> ---------------------------------------------------
>
>                 Key: OFBIZ-6360
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6360
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Christian Carlow
>             Fix For: Trunk
>
>         Attachments: OFBIZ-6360-release13.07.patch, OFBIZ-6360.patch
>
>
> Currently only FTL files are rendered by EmailServices.java because formStringRenderer is null for HtmlScreenRenderer.java#renderScreenletSubWidget which is supposed to be extracted from the context parameter, previously from the request parameter, which never exists for the emailing service.  This issue was encountered when testing the sendQuoteReportMail service for the form widget that replaced the FTL for OFBIZ-6349.  
> EmailServices.java is still using the deprecated HtmlScreenRenderer and FoScreenRenderer which should both be replaced by MacroScreenRenderer.  This made me realize I left out the new header rendering functionality for patch OFBIZ-6354 for these two deprecated classes which probably need to be provided along with the existing patch.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)