[midPoint-git] [Evolveum/prism] 2d8532: Do various changes to make tests pass

mederly noreply at github.com
Fri Dec 22 16:10:07 CET 2023


  Branch: refs/heads/feature/attributes-as-polystrings
  Home:   https://github.com/Evolveum/prism
  Commit: 2d85325d114f85824752dd8aec0a2a7ad09d762d
      https://github.com/Evolveum/prism/commit/2d85325d114f85824752dd8aec0a2a7ad09d762d
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-12-22 (Fri, 22 Dec 2023)

  Changed paths:
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/PrismPropertyDefinition.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/delta/ObjectDelta.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/delta/ObjectDeltaCollectionsUtil.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/xml/XsdTypeMapper.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/PrismContainerValueImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/PrismPropertyValueImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/query/lang/PrismQueryLanguageParserImpl.java
    M infra/prism-impl/src/test/java/com/evolveum/midpoint/prism/TestDelta.java
    M infra/util/src/main/java/com/evolveum/midpoint/util/PrettyPrinter.java

  Log Message:
  -----------
  Do various changes to make tests pass

In particular:

1. Avoiding null definition application in
   PrismContainerValueImpl.deepCloneDefinitionItem
   (as the applyDefinition now requires non-null definition reference).

2. Introducing PrismPropertyDefinition.getTypeClassLegacy, as the
   (fixed) getTypeClass breaks some things related to axiom query
   parsing.

3. Temporary introduction of PrismPropertyDefinition.adoptRealValues
   method (related to normalization-aware definitions).

4. Removed temporary mapping of ProtectedStringType in XsdTypeMapper.
   (No longer needed; and it was only a quick hack anyway.)

Related to MID-2119 (shadow caching).




More information about the midPoint-svn mailing list