Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-9359

PUP-9294 fails to load valid 3.x function when it contains call to constant

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Template:
      PUP Bug Template
    • Team:
      Froyo
    • Method Found:
      Needs Assessment
    • Release Notes:
      Not Needed
    • Release Notes Summary:
      The bug was not released.
    • QA Risk Assessment:
      Needs Assessment

      Description

      In PUP-9294 new checking for illegal constructs in 3.x functions was introduced. Before release it was found that it crashes if the 3.x function contains a call to a constant. The one that was detected contained the following:

      Float(a_string)
      

      The logic added in PUP-9294 was not expecting calls to constants and would produce a "nil" function name thus crashing when validating the loaded 3.x function.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                henrik.lindberg Henrik Lindberg
                Reporter:
                henrik.lindberg Henrik Lindberg
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support