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

mederly noreply at github.com
Mon Mar 8 14:19:04 CET 2021


  Branch: refs/heads/tmp/fix-6881
  Home:   https://github.com/Evolveum/midpoint
  Commit: 99df3ba817c7b5e8630c4b3a287a7e92c703428c
      https://github.com/Evolveum/midpoint/commit/99df3ba817c7b5e8630c4b3a287a7e92c703428c
  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.




More information about the midPoint-svn mailing list