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

Accessing resource metaparameters fails in future evaluator

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 3.5.0
    • Fix Version/s: PUP 3.6.0
    • Component/s: Compiler
    • Labels:
    • Template:
    • Story Points:
      1
    • Sprint:
      Week 2014-4-09 to 2014-4-16, Week 2014-4-16 to 2014-4-23

      Description

      Accessing regular parameters works fine, and when accessing unknown ones you get a decent error message. But when trying to access metaparameters you get a bad internal error

      notify{foo:}
      notify{Notify[foo][tag]:}
      

      Gives:

      Error: Evaluation Error: Error while evaluating a '[]' expression, undefined method `value' for nil:NilClass at line 1:33 on node 10.48.20.37.office.spotify.net
      Error: Evaluation Error: Error while evaluating a '[]' expression, undefined method `value' for nil:NilClass at line 1:33 on node 10.48.20.37.office.spotify.net
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                andy Andrew Parker
                Reporter:
                dalen Erik Dalén
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support