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

Allow to use "Compatible Classic" mode for Freemarker rendering

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.6
    • Fix Version/s: 5.6.0-HF02, 5.7.1
    • Component/s: Notifications
    • Impact type:
      Configuration format change
    • Upgrade notes:
      Hide

      Classic Compatible mode is now set to true to render freemarker template for notifications

      Show
      Classic Compatible mode is now set to true to render freemarker template for notifications

      Description

      If an expression evaluation returns null, Freemarker is raising this exception

      ERROR [freemarker.runtime]
      
      Expression document.dublincore.description is undefined on line 16, column 6 in modif.

      whereas sometimes we want to get this null value.

      The solution is to use the "Compatible Classic" mode.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: