Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-14285

Taxonomy: don't log error messages in case of invalid locale

    XMLWordPrintable

Details

    • Pulsar
    • Pulsar 254 - DT&G Hardening

    Description

      In cases where document locale cannot be parsed (org.onehippo.taxonomy.util.TaxonomyUtil#toLocale ),
      error message is logged:

      log.error("Locale \"{}\" is not valid.", localeString);
      

      This is annoying if you are using non-translated folders and default template prototype value stays unchanged ("document-type-locale").
      We should lower this to a warning level at least.

      NOTE: a workaround is to use a valid locale in prototype templates

      Attachments

        Activity

          People

            clientserviceteam Client Service Team
            mmilicevic Marijan Milicevic
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: