[midPoint-git] [Evolveum/midpoint] a3abf1: Allow key-less polystring translation

mederly noreply at github.com
Mon Mar 8 19:59:20 CET 2021


  Branch: refs/heads/support-4.0
  Home:   https://github.com/Evolveum/midpoint
  Commit: a3abf1944424f70e7e618eab1d553ab7b5aaca3c
      https://github.com/Evolveum/midpoint/commit/a3abf1944424f70e7e618eab1d553ab7b5aaca3c
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-03-08 (Mon, 08 Mar 2021)

  Changed paths:
    M infra/common/fake-midpoint-home/localization/Midpoint_sk.properties
    M infra/common/fake-midpoint-home/localization/schema_sk.properties
    M infra/common/src/main/java/com/evolveum/midpoint/common/LocalizationServiceImpl.java
    M infra/common/src/test/java/com/evolveum/midpoint/common/LocalizationTest.java
    A infra/common/src/test/resources/localization/case-with-localized-name.xml
    M infra/common/testng-unit.xml
    M infra/prism-impl/src/main/resources/xml/ns/public/types-3.xsd

  Log Message:
  -----------
  Allow key-less polystring translation

If PolyStringTranslationType.key is missing, we now apply standard
fallback mechanisms (fallbackTranslation / fallback). Also, if key
cannot be resolved, we look not only at fallback property, but at
fallbackTranslation as well.

Revived inactive LocalizationTest.

Resolves MID-6881.

(cherry picked from commit 99df3ba817c7b5e8630c4b3a287a7e92c703428c)




More information about the midPoint-svn mailing list