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

TranslationService should not throw ProvisionException when i18nModule is not ready

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: 5.4.7
    • Fix Version/s: 5.4.8, 5.5
    • Component/s: i18n
    • Labels:
    • Sprint:
      Basel 53
    • Story Points:
      2
    • Magnolia Release:
      5.4.8, 5.5

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response:

                  Time Tracking

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