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

mederly noreply at github.com
Wed Dec 18 13:22:08 CET 2024


  Branch: refs/heads/tmp/mid-7918-again
  Home:   https://github.com/Evolveum/prism
  Commit: d83eb47f2b878d7adc9042187a1337da4f7df91f
      https://github.com/Evolveum/prism/commit/d83eb47f2b878d7adc9042187a1337da4f7df91f
  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
    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.

Also, it fixes the fact that super.equals(..) method was not consulted
when comparing raw values nor when comparing expression-based values.

Should resolve 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