[midPoint-git] [Evolveum/prism] 595cb4: Support comparison of expression-based PPVs

mederly noreply at github.com
Wed Dec 18 23:44:07 CET 2024


  Branch: refs/heads/support-4.8
  Home:   https://github.com/Evolveum/prism
  Commit: 595cb49d25b53dfa8b5df3cad59fb450c2fb4018
      https://github.com/Evolveum/prism/commit/595cb49d25b53dfa8b5df3cad59fb450c2fb4018
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2024-12-18 (Wed, 18 Dec 2024)

  Changed paths:
    M infra/prism-api/pom.xml
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/ExpressionWrapper.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/util/PrismAsserts.java
    A infra/prism-api/src/test/java/com/evolveum/midpoint/prism/testing/PrismAsserts2.java
    M infra/prism-impl/pom.xml
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/PrismPropertyValueImpl.java
    M infra/prism-impl/src/test/java/com/evolveum/midpoint/prism/TestDelta.java

  Log Message:
  -----------
  Support comparison of expression-based PPVs

Prism property values that contained only the expression were always
treated like equal, which is obviously wrong. It prevented e.g. storing
them in a multi-valued property.

This commit adds the relevant functionality.

Other changes:

1. It fixes the fact that super.equals(..) method was not consulted
when comparing raw values.

2. It introduces prism-api test-jar module. PrismAsserts should be
gradually moved there.

Resolves MID-7918.

(cherry picked from commit 619ac57ceec0f01f0c1981b1102ebfdffad2116b)



To unsubscribe from these emails, change your notification settings at https://github.com/Evolveum/prism/settings/notifications


More information about the midPoint-svn mailing list