Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-10339

Templating - Picture handling when no picture is in the document

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.6.0-HF02, 5.7.1
    • Component/s: Renditions

      Description

      While Runnting templating with a picture property.
      If bound property does exists, but is null, xddocreport rendering will fail

      Caused by: freemarker.template.TemplateModelException: Method public fr.opensagres.xdocreport.document.images.ImageProviderInfo fr.opensagres.xdocreport.document.images.AbstractImageRegistry.registerImage(java.lang.Object,java.lang.String,fr.opensagres.xdocreport.template.IContext) throws fr.opensagres.xdocreport.core.XDocReportException,java.io.IOException threw an exception when invoked on fr.opensagres.xdocreport.document.docx.images.DocxImageRegistry@84f89c
      	at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:136)
      	at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)
      

        Attachments

          Activity

            People

            • Assignee:
              tdelprat Thierry Delprat
              Reporter:
              tdelprat Thierry Delprat
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                PagerDuty

                Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.