[midPoint-git] [Evolveum/midpoint] 5e2f84: Fix another place when storing PCVs to traces

mederly noreply at github.com
Sat Mar 21 00:03:50 CET 2020


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 5e2f846bef0306b70581345f6e9ada0b3a5ff5dd
      https://github.com/Evolveum/midpoint/commit/5e2f846bef0306b70581345f6e9ada0b3a5ff5dd
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/Item.java
    M infra/prism-api/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/ItemType.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/MappingImpl.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/Source.java

  Log Message:
  -----------
  Fix another place when storing PCVs to traces

Identified and fixed one more place where real values are obtained.
Traces with static-schema-less PCVs will be hopefully written
correctly now.


  Commit: e7830e13ee138c0295cacbe09255171e5a892d30
      https://github.com/Evolveum/midpoint/commit/e7830e13ee138c0295cacbe09255171e5a892d30
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/AbstractValueTransformationExpressionEvaluator.java

  Log Message:
  -----------
  Fix another getRealValue

Relates to detailed logging of static-schema-less PCV processing.


  Commit: 2e881ac22903d0433030941f54c5967edc66baea
      https://github.com/Evolveum/midpoint/commit/2e881ac22903d0433030941f54c5967edc66baea
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/ItemImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/marshaller/BeanUnmarshaller.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/marshaller/PrismUnmarshaller.java

  Log Message:
  -----------
  Make COMPAT-mode parsing more robust

The parsing context was not propagated well to inner parsing processes.
Still not ideal; but some improvements are provided by this commit.


  Commit: 4b8c0980e23c57764bbdd6a325d91e36317fb8dd
      https://github.com/Evolveum/midpoint/commit/4b8c0980e23c57764bbdd6a325d91e36317fb8dd
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/autocomplete/AutoCompleteTextPanel.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/autocomplete/LookupTableConverter.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/password/PasswordPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/page/PageBase.java
    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/web/component/menu/UserMenuPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/prism/show/PagePreviewChanges.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/prism/show/SceneItemValuePanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/prism/show/ScenePanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/search/TextPopupPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/self/PageOrgSelfProfile.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/self/PageRoleSelfProfile.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/self/PageSelfProfile.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/self/PageServiceSelfProfile.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/self/PageUserSelfProfile.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/ModelController.java
    M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/util/mock/MockFactory.java
    M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/AccountOperationListener.java
    M repo/repo-api/src/main/java/com/evolveum/midpoint/repo/api/RepositoryService.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/RepositoryCache.java
    R repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/ListAccountShadowOwnerTest.java
    M repo/repo-sql-impl-test/testng-integration.xml
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/SqlRepositoryServiceImpl.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/helpers/ObjectRetriever.java
    M repo/security-api/src/main/java/com/evolveum/midpoint/security/api/AuthorizationConstants.java
    M testing/schrodingertest/pom.xml
    M testing/schrodingertest/src/test/java/com/evolveum/midpoint/testing/schrodinger/AbstractSchrodingerTest.java
    M testing/schrodingertest/src/test/java/com/evolveum/midpoint/testing/schrodinger/UsersTest.java
    A testing/schrodingertest/src/test/java/com/evolveum/midpoint/testing/schrodinger/page/PreviewPageTest.java
    A testing/schrodingertest/src/test/resources/configuration/objects/lookuptable/subtypes.xml
    A testing/schrodingertest/src/test/resources/configuration/objects/objecttemplate/object-template-for-lookup-table-subtypes.xml
    A testing/schrodingertest/src/test/resources/configuration/objects/systemconfig/system-configuration-with-lookup-table.xml
    A testing/schrodingertest/src/test/resources/page/preview/role-user-preview.xml
    M testing/schrodingertest/testng-integration.xml
    M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/AssignmentsTab.java
    M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/Component.java
    M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/common/Popover.java
    M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/common/Search.java
    A tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/prism/show/PartialSceneHeader.java
    A tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/prism/show/PreviewChangesTab.java
    A tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/prism/show/ScenePanel.java
    M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/page/AssignmentHolderDetailsPage.java
    M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/page/BasicPage.java
    M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/page/PreviewPage.java
    M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/page/self/ProfilePage.java

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/master'


  Commit: aa57870829165163dc5e1617d6c5d97fa29ec747
      https://github.com/Evolveum/midpoint/commit/aa57870829165163dc5e1617d6c5d97fa29ec747
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/InboundProcessor.java

  Log Message:
  -----------
  Add better diagnostics for MID-6129


  Commit: ad9a1b7db7bedda4f274af7442a1d685af4e51bb
      https://github.com/Evolveum/midpoint/commit/ad9a1b7db7bedda4f274af7442a1d685af4e51bb
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/Item.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/ItemImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/item/DummyItem.java
    M infra/schema/src/test/java/com/evolveum/midpoint/schema/TestParseDiffPatch.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/InboundProcessor.java

  Log Message:
  -----------
  Fix MID-6129 preliminarily

The item.diff method used in InboundProcessor is "too clever"
for the purpose. We do not want to do optimized, general comparison
of two items there. (Just by the way, this method does not provide it
anyway -- therefore the exception.)

We need simplified item.diffValues instead.

This is only a preliminary, quick hack. More serious implementation
will follow.


  Commit: 2904e2f50455ee87911e4a9f1d76e7fb3f0debcf
      https://github.com/Evolveum/midpoint/commit/2904e2f50455ee87911e4a9f1d76e7fb3f0debcf
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2020-03-21 (Sat, 21 Mar 2020)

  Changed paths:
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/Item.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/ItemImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/PrismContainerImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/PrismContainerValueImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/PrismObjectImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/item/DummyItem.java
    M infra/schema/src/test/java/com/evolveum/midpoint/schema/TestParseDiffPatch.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/InboundProcessor.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/mapping/TestMappingInbound.java
    M model/model-intest/src/test/resources/mapping/resource-dummy-tea-green.xml
    M model/model-intest/src/test/resources/schema/piracy.xsd

  Log Message:
  -----------
  Fix Item.diff method seriously

Removed diffValues() that was introduced recently and changed diff()
to get its semantics - because no other semantics are suitable for this
method.

Also including explicit test for MID-6129.


Compare: https://github.com/Evolveum/midpoint/compare/be77284e81e5...2904e2f50455


More information about the midPoint-svn mailing list