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

collection of classes should raise a meaningful error

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PUP 3.7.0
    • Compiler
    • None
    • 1
    • Week 2014-6-25 to 2014-7-9

    Description

      If an attempt is made to collect classes

      Class <| |>
      

      The 3x runtime issues an error that says:

      Error: Resource type class doesn't exist
      

      Which is misleading.

      The 4x runtime fails with this message: (essentially the same).

      Error while evaluating a Virtual Query, Resource type class doesn't exist
      

      The message should say that it is invalid/not allowed to collect classes.
      The logic should not even attempt to collect.

      Attachments

        Issue Links

          Activity

            People

              joshua.partlow Joshua Partlow
              henrik.lindberg Henrik Lindberg
              Kurt Wall Kurt Wall
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support