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

Setting invalid kind/intent/objectclass in Task (LiveSync) editor throws - TaskType doesn't contain definition for path c:extension/mext:kind

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.2 (Tycho)
    • Fix Version/s: 3.2 (Tycho)
    • Component/s: GUI
    • Labels:
    • Git Revision:
      git-v3.2devel-504-gd8fb1bd

      Description

      1. create new livesync task
      2. fill in name
      3. fill in LiveSynchronization type
      4. fill in resource reference, kind, intent, objectClass - use invalid value of intent
      5. try to save
      6. exception:

      com.evolveum.midpoint.util.exception.SchemaException: Object type {http://midpoint.evolveum.com/xml/ns/public/common/common-3}TaskType doesn't contain definition for path c:extension/mext:kind
      at com.evolveum.midpoint.prism.delta.ItemDelta.applyDefinition(ItemDelta.java:242)
      at com.evolveum.midpoint.prism.delta.ObjectDelta.applyDefinition(ObjectDelta.java:449)
      at com.evolveum.midpoint.model.impl.controller.ModelController.applyDefinitions(ModelController.java:777)
      at com.evolveum.midpoint.model.impl.controller.ModelController.executeChanges_aroundBody4(ModelController.java:496)
      at com.evolveum.midpoint.model.impl.controller.ModelController$AjcClosure5.run(ModelController.java:1)
      at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
      at com.evolveum.midpoint.util.aspect.MidpointAspect.wrapSubsystem(MidpointAspect.java:178)
      at com.evolveum.midpoint.util.aspect.MidpointAspect.ajc$inlineAccessMethod$com_evolveum_midpoint_util_aspect_MidpointAspect$com_evolveum_midpoint_util_aspect_MidpointAspect$wrapSubsystem(MidpointAspect.java:1)
      at com.evolveum.midpoint.util.aspect.MidpointAspect.processModelNdc(MidpointAspect.java:63)
      at com.evolveum.midpoint.model.impl.controller.ModelController.executeChanges(ModelController.java:467)
      at com.evolveum.midpoint.model.impl.controller.ModelController.executeChanges_aroundBody2(ModelController.java:460)
      at com.evolveum.midpoint.model.impl.controller.ModelController$AjcClosure3.run(ModelController.java:1)
      at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
      

      If I use correct kind/intent/objectclass combination, the task can be saved for the first time.

      Further editing of the task - edit+save fails the same exception.

        Attachments

          Activity

            People

            Assignee:
            vix Ivan Noris
            Reporter:
            vix Ivan Noris
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: