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

Ignore (un)translated items when no I18nKeyGenerator is specified and no configured key exists

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 5.4.7
    • 5.3
    • i18n
    • None
    • Kromeriz 41
    • 1

      If a component is marked with @I18nable, but no I18nKeyGenerator is specified, NullKeyGenerator is used. This returns the "configured" value (e.g whatever the getters with @I18nText return). If those values are not configured (yet), this results in NPEs down the line, because TranslationServiceImpl tries to lookup null in the translation bundles.

        Acceptance criteria

              rkovarik Roman Kovařík
              gjoseph Magnolia International
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD