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

Details

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

    Description

      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.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD