Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-6360

Form widget rendering broken for EmailServices.java

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 22.01.01, Upcoming Branch
    • None
    • framework
    • None

    Description

      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.

      Attachments

        1. OFBIZ-6360.patch
          8 kB
          Christian Carlow
        2. OFBIZ-6360-release13.07.patch
          8 kB
          Forrest Rae

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ofbizzer Christian Carlow
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: