Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-4800

Non-English default locale leads to misinterpreted schema.properties file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5 (Einstein), 3.6 (Comenius), 3.7, 3.8, 3.9
    • Fix Version/s: 3.9
    • Component/s: None
    • Labels:
      None
    • Subscription:
      Internal

      Description

      When default locale is set to language other than en, schema.properties for that language are misinterpreted (read as ISO 8859-1 instead of UTF-8) and displayed wrongly. See e.g. MID-3772 or MID-4520.

      It seems to be due to interference between system-default ResourceBundle loading of schema.properties and the one we use in LocalizationServiceImpl. The solution is to avoid direct loading of that ResourceBundle.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mederly Pavol Mederly
                Reporter:
                mederly Pavol Mederly
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: