Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-2422

Classic templates should not render cf_null

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 3.9.0, 3.7.3
    • Fix Version/s: 3.10.0
    • Component/s: None
    • Labels:
    • Steps to reproduce:
      Acceptance/unit test attached

      Description

      When rendering a template using the classic templating engine where the template references values inside of a data container that do not exist cf_null is rendered instead.

      This did not happen on 3.6.6, but does happen on 3.7.3 and 3.9.0

      In the attached example run the main.cf and then inspect test.txt.

        Attachments

          Activity

            People

            • Assignee:
              a10003 Eystein Maloy Stenberg
              Reporter:
              a10042 Nick Anderson
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel