[midPoint-git] [Evolveum/midpoint] fbf47d: Fixed empty PCV creation could cause IllegalStateE...

Tony Tkáčik noreply at github.com
Fri Oct 2 15:20:32 CEST 2020


  Branch: refs/heads/feature/mid-6431-container-id
  Home:   https://github.com/Evolveum/midpoint
  Commit: fbf47dc645d4e6366187d3f917590a78b9bf78dd
      https://github.com/Evolveum/midpoint/commit/fbf47dc645d4e6366187d3f917590a78b9bf78dd
  Author: Tony Tkacik <tony.tkacik at evolveum.com>
  Date:   2020-10-02 (Fri, 02 Oct 2020)

  Changed paths:
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/PrismContainerImpl.java
    M infra/prism-impl/src/test/java/com/evolveum/midpoint/prism/TestPrismObjectConstruction.java

  Log Message:
  -----------
  Fixed empty PCV creation could cause IllegalStateException

If PrismContainer does not contained any values, getValue creates
empty value. If PrismContainer was frozen before, this would cause
IllegalStateException, since lazily created value was inserted
using normal mutators.

Signed-off-by: Tony Tkacik <tony.tkacik at evolveum.com>




More information about the midPoint-svn mailing list