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

collection of classes should raise a meaningful error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 3.7.0
    • Component/s: Compiler
    • Labels:
      None
    • Template:
    • Story Points:
      1
    • Sprint:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support