[midPoint-git] [Evolveum/midpoint] 54ea3e: Smart Integration: Fix system mapping path resolut...

Michal Zelenčík noreply at github.com
Tue Jan 20 16:20:33 CET 2026


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 54ea3e30451167adc386f7e26ad8f8a5f1467bb6
      https://github.com/Evolveum/midpoint/commit/54ea3e30451167adc386f7e26ad8f8a5f1467bb6
  Author: Michal Zelencik <michal.zelencik at evolveum.com>
  Date:   2026-01-20 (Tue, 20 Jan 2026)

  Changed paths:
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/SchemaMatchingOperation.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/wellknownschemas/WellKnownSchemaProvider.java

  Log Message:
  -----------
  Smart Integration: Fix system mapping path resolution and schema match deduplication

1. System mappings failed with "No ItemPath mapping for DescriptiveItemPath"
   - Added .ref() field to system mappings in WellKnownSchemaProvider
   - Register paths in convertToSchemaResponse() for system schema matches
   - Ensures DescriptiveItemPath strings can be resolved back to ItemPaths

2. Duplicate mappings created for same attribute
   - Fixed MatchPair.equals()/hashCode() to compare ItemPaths properly
   - Ignores namespace differences (e.g., "sn" vs "ri:sn")
   - Now correctly deduplicates system and AI schema matches

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