[midPoint-git] [Evolveum/midpoint] df10f5: Fix inclusion of extensions in focus stats export

Andrej noreply at github.com
Mon Oct 13 18:24:16 CEST 2025


  Branch: refs/heads/feature/ninja-stats-export
  Home:   https://github.com/Evolveum/midpoint
  Commit: df10f572fc2e3060b3641d8f8a3956c23887b1d1
      https://github.com/Evolveum/midpoint/commit/df10f572fc2e3060b3641d8f8a3956c23887b1d1
  Author: Andrej Zan <andrej.zan at evolveum.com>
  Date:   2025-10-13 (Mon, 13 Oct 2025)

  Changed paths:
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/stats/ExportFocusStatisticsAction.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/stats/FocusTypeCounter.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/stats/StatsCounter.java

  Log Message:
  -----------
  Fix inclusion of extensions in focus stats export

**What**

Fix the issue with unmatched extensions properties to include in focus
stats export.

**Note**

The main problem was, that the definition does not contain whole path,
but just the last segment (item name). When the include precondition was
applied, it did not matched any extension property, because the
precondition expected that the path will start with `extension/`. The
fix was to use `Item` instead of `ItemDefinition` in the precondition.
Item is aware of it's parents, so it contains whole path, not just item
name.



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