[midPoint-git] [Evolveum/midpoint] c0ac19: Fix handling of unknown intents in GUI

mederly noreply at github.com
Mon Mar 7 13:52:10 CET 2022


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: c0ac194579745bd33f6cc2644d8aade7be61828b
      https://github.com/Evolveum/midpoint/commit/c0ac194579745bd33f6cc2644d8aade7be61828b
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2022-03-07 (Mon, 07 Mar 2022)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/util/WebComponentUtil.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/factory/wrapper/ShadowAssociationWrapperFactoryImpl.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/ResourceContentTabPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/resources/ResourceContentPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/resources/ResourceContentTabPanel.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceSchema.java

  Log Message:
  -----------
  Fix handling of unknown intents in GUI

As part of cleanup of resource object definitions (object types,
object classes), the method ResourceSchema#findObjectDefinition was
made more picky - it intentionally rejects attempts to find a definition
for kind or intent being unknown. The reason is that the client should
know what it is looking for.

So, in this commit I reviewed calls to this method from GUI, and added
appropriate checks there. However, I am not sure about the expected
behavior, so please REVIEW this commit.

This should resolve MID-7705.




More information about the midPoint-svn mailing list