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

TranslationService should not throw ProvisionException when i18nModule is not ready

    XMLWordPrintable

Details

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

    Description

      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.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

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