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

gettext-setup isn't stubbed enough

    XMLWordPrintable

    Details

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

      That puppet can run without the gettext-setup gem.

      Show
      That puppet can run without the gettext-setup gem.
    • Team:
      Agent
    • Story Points:
      1
    • Sprint:
      Agent 2017-05-03
    • Release Notes:
      Not Needed
    • QA Risk Assessment:
      No Action
    • QA Risk Assessment Reason:
      Refactor

      Description

      In PUP-7116, the gettext-setup is made optional by trapping a failed require 'gettext-setup' and stubbing the _() method. That is however not enough since the method n_() is referenced in several places in the code-base.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support