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

optional bindings does not work for autoloaded bindings

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Compiler
    • Labels:
    • Template:
    • Team:
      Platform Core
    • Story Points:
      1

      Description

      The binding schemes that makes use of the autoloader does not correctly handle optionality as they need to know if something will be loaded or not.

      This could either be implemented by:

      • querying the autoloader if it will be able to load something (without actually loading),
      • performing early loading, stashing the result until it is being used (it may be excluded later so this is wasteful.
      • make the optionality carry through to the resolution phase (now optionality is checked when URIs are expanded and the effective set of included - excluded is processed.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              henrik.lindberg Henrik Lindberg
              QA Contact:
              Kurt Wall
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 1 day
                  1d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified