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

    • Type: Bug
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: 5.3
    • Fix Version/s: 5.4.7
    • Component/s: i18n
    • Labels:
      None
    • Sprint:
      Kromeriz 41
    • Story Points:
      1
    • Magnolia Release:
      5.4.7

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: