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

epp template don't check param, just check the number of params

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • PUP 3.8.4
    • PUP 4.3.2
    • Language
    • None
    • 1
    • Language 2015-12-02, Language 2015-12-16
    • Bug Fix
    • Hide
      Parameter validation when calling EPP templates was only checking number of parameters and ignoring the parameter names. This caused certain illegal calls to be accepted (without setting values). Now
      calls to EPP templates are validated with the same logic that
      is used when validating resource parameters.
      Show
      Parameter validation when calling EPP templates was only checking number of parameters and ignoring the parameter names. This caused certain illegal calls to be accepted (without setting values). Now calls to EPP templates are validated with the same logic that is used when validating resource parameters.

    Description

      when we tried tu do template, only the number of parametter are check.

      Why if i defined a list of parameters, when call the template whith most number of parameter, the compilator return un error.

      If i call the template with other parameter name that i have declared in the epp template, i have no compilator error

      Attachments

        Issue Links

          Activity

            People

              john.duarte John Duarte
              stuxboulot julien ippolito
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support