[midPoint-git] [Evolveum/midpoint] fa436e: Improve exceptions in ResourceObjectConverter
mederly
noreply at github.com
Wed Mar 8 14:06:46 CET 2023
Branch: refs/heads/master
Home: https://github.com/Evolveum/midpoint
Commit: fa436e5406789128fe62a6538d9bec08d7fbfe96
https://github.com/Evolveum/midpoint/commit/fa436e5406789128fe62a6538d9bec08d7fbfe96
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2023-03-08 (Wed, 08 Mar 2023)
Changed paths:
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestIteration.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ProvisioningContext.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resourceobjects/ResourceObjectConverter.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/util/ProvisioningUtil.java
M provisioning/ucf-api/src/main/java/com/evolveum/midpoint/provisioning/ucf/api/ConnectorInstance.java
M provisioning/ucf-api/src/main/java/com/evolveum/midpoint/provisioning/ucf/api/connectors/AbstractManagedConnectorInstance.java
M provisioning/ucf-impl-builtin/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/builtin/ManualConnectorInstance.java
M provisioning/ucf-impl-connid/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/ConnectorInstanceConnIdImpl.java
Log Message:
-----------
Improve exceptions in ResourceObjectConverter
Exceptions thrown in this class provided too little context.
For example, there was no indication of the resource on which
the problem occurred.
This could be solved by upper layers, but that would require
extensive extension wrapping - which may or may not be good;
but there's no time to consider all consequences.
Instead, this commit provides reasonable context in (almost)
all messages thrown in this class. Resource name, object class,
object type, and optionally connector information is added.
This should resolve MID-6712.
Some tests (checking the exceptions) may fail. They will be
adapted later.
Commit: 089db005e21e3697d665bf86dda8af7c54fbbb26
https://github.com/Evolveum/midpoint/commit/089db005e21e3697d665bf86dda8af7c54fbbb26
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2023-03-08 (Wed, 08 Mar 2023)
Changed paths:
A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/input/QNameRelationChoiceRenderer.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/certification/DefinitionScopePanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/certification/PageCertCampaigns.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/certification/PageCertDefinitions.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/certification/dto/CertCampaignListItemDto.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/certification/dto/CertCaseOrWorkItemDto.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/component/ChooseTypePanel.java
Log Message:
-----------
Merge remote-tracking branch 'origin/master'
Compare: https://github.com/Evolveum/midpoint/compare/0c3d7a0f6c4d...089db005e21e
More information about the midPoint-svn
mailing list