Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6724

TranslationService should not throw ProvisionException when i18nModule is not ready

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 5.4.8, 5.5
    • 5.4.7
    • i18n
    • Basel 53
    • 2

      Currently we have a mechanism which we inform users for missing translations if the debug mode (i18n) is on. However, TranslationService is throwing ProvisionException(s) if i18n module is not ready. We have a valid case where i18n module is not ready but we might get the translations from TranslationService directly.

      Solution

      Catching the given exceptions and simply assuming the debug mode is off when i18n module is not ready.

        Acceptance criteria

              ilgun Ilgun Ilgun
              ilgun Ilgun Ilgun
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 3h
                    3h