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

Module initialization code attempts to use GettextSetup before it has been required

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 5.2.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Team:
      Platform Core
    • Story Points:
      1
    • Sprint:
      Platform Core 2017-08-22
    • Method Found:
      Needs Assessment
    • Release Notes:
      Not Needed
    • QA Risk Assessment:
      No Action
    • QA Risk Assessment Reason:
      Covered by spec tests

      Description

      In the recent refactor of the GettextSetup initialization code, a reference to the GettextSetup gem in the module initialization code was left unguarded, which means that sometimes (e.g. in Puppet Server unit tests), the method is called before GettextSetup has been required. This would also fail if GettextSetup had failed to load. We need to refactor this to behave correctly if GettextSetup is not present.

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                Unassigned
                Reporter:
                maggie Maggie Dreyer
                QA Contact:
                Eric Delaney
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: