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

promises use unresolved variables in early passes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.0
    • Component/s: Evaluation
    • Labels:
      None
    • Platform:
      Any

      Description

      I recall the logic used to block unresolved variables from @reports@ promises until the last convergence pass. In master we seem to be reporting unresolved variables, then reporting the resolved version later. Similarly, @files@ promises are trying to operate on unresolved filenames (causing an error to be reported), then later operating on the resolved version.

      While usually cosmetic, this wastes a lot of time debugging and looks bad in compliance reporting.

      I can provide an acceptance test if needed, but let me know if this description makes sense at all.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                a10025 Volker Hilsheimer (Inactive)
                Reporter:
                jiraadmin Old User (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel