[midPoint-git] [Evolveum/midpoint] 1eaeec: Fix displaying projections

mederly noreply at github.com
Tue Oct 18 18:05:29 CEST 2022


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 1eaeecbe6bd04662b7b438941cd2ffec989cd9b0
      https://github.com/Evolveum/midpoint/commit/1eaeecbe6bd04662b7b438941cd2ffec989cd9b0
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2022-10-18 (Tue, 18 Oct 2022)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/focus/component/FocusProjectionsPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/wrapper/PrismContainerWrapperImpl.java

  Log Message:
  -----------
  Fix displaying projections

Two unrelated fixes are here:

1) An attempt to display unreadable projection failed with 500,
referring to inability to get a value from empty list. This should
be fixed by a change in PrismContainerWrapperImpl#findValue.

This could be causing MID-8136 (original stack trace) and maybe
MID-8218.

2) Triggers in shadows were copied onto themselves, creating collisions
in PCV IDs. The fix is dubious, because the whole code that copies
the triggers onto themselves is questionable. But, at least, the
exception is not thrown now.

This should resolve the issue in re-opened MID-8136. (Reproducible by
opening any projection that have some triggers on it.)




More information about the midPoint-svn mailing list