Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-6135

Consolidation of chained mapping results is not correct in some cases

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1
    • Component/s: None
    • Labels:
    • Subscription:
      Active subscription

      Description

      The output of mapping for shouldHaveRole is not consolidated correctly to the delta. Should be "add: false, delete: true", and is instead "add: false". This causes issues in downstream mappings.

      2020-03-24 12:27:58,168 [MODEL] [midPointScheduler_Worker-10] TRACE (com.evolveum.midpoint.model.impl.lens.IvwoConsolidator): Consolidating extension/shouldHaveRole IVwO triple:
        DeltaSetTriple:
            zero:
              ItemValueWithOrigin:
                itemValue:
                  false
                mapping: M(shouldHaveRole = PVDeltaSetTriple(zero: [PPV(Boolean:false)]; plus: []; minus: []; ), strong)
                construction: null
            plus:
            minus:
        Apriori Delta:
          null
        Existing item:
          shouldHaveRole: true
        Parameters:
         - addUnchangedValues: true
         - filterExistingValues: true
         - isExclusiveStrong: false
         - strengthSelector: StrengthSelector(weak=true, normal=true, strong=true)
         - valueMatcher: null
         - comparator: null
      2020-03-24 12:27:58,168 [MODEL] [midPointScheduler_Worker-10] TRACE (com.evolveum.midpoint.model.impl.lens.IvwoConsolidator):   consolidating value: PPV(Boolean:false)
      2020-03-24 12:27:58,168 [MODEL] [midPointScheduler_Worker-10] TRACE (com.evolveum.midpoint.model.impl.lens.IvwoConsolidator): PVWOs for value PPV(Boolean:false):
      zero = [ItemValueWithOrigin(PPV(Boolean:false), M=M(shouldHaveRole = PVDeltaSetTriple(zero: [PPV(Boolean:false)]; plus: []; minus: []; ), strong), C=null)]
      plus = []
      minus = []
      2020-03-24 12:27:58,168 [MODEL] [midPointScheduler_Worker-10] TRACE (com.evolveum.midpoint.model.impl.lens.IvwoConsolidator): Value PPV(Boolean:false) added to delta as ADD for item extension/shouldHaveRole in  updating chained source (extension/shouldHaveRole) in template mapping 'Assignment of Secunda role (extension/shouldHaveRole -> assignment)' in objectTemplate:191b00b3-1e2b-4296-a5cb-f756a65d2b5f(User Template - Default)
      2020-03-24 12:27:58,168 [MODEL] [midPointScheduler_Worker-10] TRACE (com.evolveum.midpoint.model.impl.lens.IvwoConsolidator): Existing values for item extension/shouldHaveRole in  updating chained source (extension/shouldHaveRole) in template mapping 'Assignment of Secunda role (extension/shouldHaveRole -> assignment)' in objectTemplate:191b00b3-1e2b-4296-a5cb-f756a65d2b5f(User Template - Default), weak mapping processing skipped
      2020-03-24 12:27:58,168 [MODEL] [midPointScheduler_Worker-10] TRACE (com.evolveum.midpoint.model.impl.lens.projector.mappings.MappingEvaluator): Updating focus ODO with delta:
      extension/shouldHaveRole
        ADD: false
        OLD: true
      2020-03-24 12:27:58,169 [MODEL] [midPointScheduler_Worker-10] TRACE (com.evolveum.midpoint.model.common.expression.evaluator.AbstractValueTransformationExpressionEvaluator): Processed source shouldHaveRole triple
        DeltaSetTriple:
            zero:
              true
            plus:
              false
            minus: 

        Attachments

          Activity

            People

            Assignee:
            vix Ivan Noris
            Reporter:
            mederly Pavol Mederly
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: