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

mederly noreply at github.com
Thu Dec 19 10:37:58 CET 2024


  Branch: refs/heads/support-4.9
  Home:   https://github.com/Evolveum/prism
  Commit: d57f08a871a6e03e1c54599493b3c23decf94576
      https://github.com/Evolveum/prism/commit/d57f08a871a6e03e1c54599493b3c23decf94576
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2024-12-19 (Thu, 19 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