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

mederly noreply at github.com
Wed Dec 18 20:18:21 CET 2024


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/prism
  Commit: 619ac57ceec0f01f0c1981b1102ebfdffad2116b
      https://github.com/Evolveum/prism/commit/619ac57ceec0f01f0c1981b1102ebfdffad2116b
  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.



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