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

different intent in association and in role

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2 (Tycho), 3.4 (Heisenberg)
    • Fix Version/s: 4.0
    • Component/s: None
    • Labels:
      None

      Description

      when I have <intent>ldapGroup</intent> in role "users", but I have <intent>group</intent> in association in resource and I assign this role to user I get irrelevant and not understandable error message:
      com.evolveum.midpoint.util.exception.ExpressionEvaluationException: No association target object class definition variable in expression in mapping in for association

      {.../resource/instance-3}

      ldapGroups in role:090ee0cc-427d-49e2-8336-0c2ae5bc01a6(users in OpenDS); the expression may be used in a wrong place. It is only supposed to create an association.
      at com.evolveum.midpoint.model.common.expression.evaluator.AssociationTargetSearchExpressionEvaluator.extendQuery(AssociationTargetSearchExpressionEvaluator.java:67)
      at com.evolveum.midpoint.model.common.expression.evaluator.AbstractSearchExpressionEvaluator.transformSingleValue(AbstractSearchExpressionEvaluator.java:170)

      see attachements from project

        Attachments

          Activity

            People

            Assignee:
            oscar Gustáv Pálos
            Reporter:
            oscar Gustáv Pálos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: