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

Type mismatches for variants with undef are incorrectly reported

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 4.9.4
    • Fix Version/s: PUP 4.10.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Acceptance Criteria:
      Hide

      That Undef is included in a mismatch description where the type is a Variant containing the Undef type.

      Show
      That Undef is included in a mismatch description where the type is a Variant containing the Undef type.
    • Team:
      Puppet Developer Experience
    • Story Points:
      1
    • Sprint:
      PDE 2017-03-22, PDE 2017-04-05
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Hide
      The type mismatch describer that outputs an error message explaining the difference between the data types of given arguments and the expected data types could in some situations miss to include {{Undef}} in the generated description. Now {{Undef}} is included if it should.
      Show
      The type mismatch describer that outputs an error message explaining the difference between the data types of given arguments and the expected data types could in some situations miss to include {{Undef}} in the generated description. Now {{Undef}} is included if it should.
    • QA Risk Assessment:
      No Action
    • QA Risk Assessment Reason:
      covered by unit tests

      Description

      A reported mismatch for a type that does not conform to a Variant where one of the types is Undef is incorrectly reported. The Undef is missing from the description.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              thomas.hallgren Thomas Hallgren
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support