[midPoint-git] [Evolveum/midpoint] c09457: Smart Integration: Replace custom script with buil...

Michal Zelenčík noreply at github.com
Mon Feb 9 17:23:16 CET 2026


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: c09457f9a486d72a6deda1824c6d1333c82f2b0e
      https://github.com/Evolveum/midpoint/commit/c09457f9a486d72a6deda1824c6d1333c82f2b0e
  Author: Michal Zelencik <michal.zelencik at evolveum.com>
  Date:   2026-02-09 (Mon, 09 Feb 2026)

  Changed paths:
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/mappings/heuristics/StripDiacriticsHeuristic.java
    M model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/TestMappingsSuggestionOperation.java

  Log Message:
  -----------
  Smart Integration: Replace custom script with built-in toAscii() in StripDiacriticsHeuristic

Simplified diacritics stripping by using BasicExpressionFunctions.toAscii()
instead of generating custom Groovy scripts with explicit character replacements.

- StripDiacriticsHeuristic now generates basic.toAscii() expressions
- Updated tests to use only decomposable diacritics (é, ü, ñ, š, etc.)
- Removed test cases with non-decomposable characters (Ł, Ø, Å)
  that required explicit replacements in the old implementation

The built-in function uses NFKD normalization which handles most common
diacritics but doesn't support non-decomposable characters like Polish Ł
or Nordic Ø, Å that were explicitly handled before.

Signed-off-by: Michal Zelencik <michal.zelencik at evolveum.com>



To unsubscribe from these emails, change your notification settings at https://github.com/Evolveum/midpoint/settings/notifications


More information about the midPoint-svn mailing list