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

Add more silently ignored keys in Freemarker template

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.10
    • Fix Version/s: HOTFIX_10.10, 2021.x, 11.x
    • Component/s: Launcher
    • Tags:
    • Backlog priority:
      150

      Description

      Currently 3 keys are silently ignored in Freemarker templates: java.vendor, file.encoding and audit.elasticsearch as you can see at https://github.com/nuxeo/nuxeo/blob/release-10.10/nuxeo-common/src/main/java/org/nuxeo/common/utils/TextTemplate.java#L344-L345

      After moving to JDK 11, there is a new warning

       FreeMarker variables: ignored 'java.version' conflicting with 'java.version.[date]'
      

      This ticket is to request to silently ignore java.version too.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: