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

New task interface issues: Server tasks-New task will create a task without handler (and archetype)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1
    • Fix Version/s: 4.1
    • Component/s: GUI
    • Labels:
      None
    • Subscription:
      Internal
    • Git Revision:
      v4.1devel-1288-ga221ea2ca4

      Description

      I have empty midpoint.

      I go to Server tasks - New task.
      I select Recompute handler, page refreshes.
      I enter Name, Recurrence=single, object type=User and then Save the task

      The task does not have handler.

      2020-03-30 12:25:01,752 [MODEL] [pool-3-thread-12] INFO (com.evolveum.midpoint.audit.log): 2020-03-30T12:25:01.752+0200 eid=1585563901752-0-1, et=ADD_OBJECT, es=REQUEST, sid=624A25C2FE204313A719308F1D577EBE, rid=93d08acc-148b-4cc3-80d8-80605a418394, tid=1585563901750-0-1, toid=null, hid=localhost, nid=DefaultNode, raddr=127.0.0.1, I=FocusType:00000000-0000-0000-0000-000000000002(user), T=AssignmentHolderType:null(task), TO=null, D=[null:ADD], ch=http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user, o=null, p=null, m=
      2020-03-30 12:25:01,753 [MODEL] [pool-3-thread-12] DEBUG (com.evolveum.midpoint.audit.log): Details of event 1585563901752-0-1 stage REQUEST
      Deltas:
        ObjectDeltaOperation
          Delta:
            ObjectDelta<TaskType>(TaskType:null,ADD):
              task: (null, TaskType)
                  name: XXXXXXXXXXXX
                  extension: 
                      objectType: {...common/common-3}UserType
                  ownerRef: oid=00000000-0000-0000-0000-000000000002(UserType)('administrator')[default]
                  executionStatus: SUSPENDED
                  recurrence: SINGLE
          Execution result: null
          Object name: null
      2020-03-30 12:25:01,798 [MODEL] [pool-3-thread-12] INFO (com.evolveum.midpoint.audit.log): 2020-03-30T12:25:01.798+0200 eid=1585563901798-0-1, et=ADD_OBJECT, es=EXECUTION, sid=624A25C2FE204313A719308F1D577EBE, rid=93d08acc-148b-4cc3-80d8-80605a418394, tid=1585563901750-0-1, toid=null, hid=localhost, nid=DefaultNode, raddr=127.0.0.1, I=FocusType:00000000-0000-0000-0000-000000000002(user), T=PRV(oid=1d171679-3456-4e82-8f3c-1b88861e4403, targetType={.../common/common-3}TaskType, targetName=XXXXXXXXXXXX, relation={.../common/org-3}default), TO=null, D=[1d171679-3456-4e82-8f3c-1b88861e4403:ADD], ch=http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user, o=SUCCESS, p=null, m=
      2020-03-30 12:25:01,800 [MODEL] [pool-3-thread-12] DEBUG (com.evolveum.midpoint.audit.log): Details of event 1585563901798-0-1 stage EXECUTION
      Deltas:
        LensObjectDeltaOperation
          Delta:
            ObjectDelta<TaskType>(TaskType:1d171679-3456-4e82-8f3c-1b88861e4403,ADD):
              task: (1d171679-3456-4e82-8f3c-1b88861e4403, v0, TaskType)
                  name: XXXXXXXXXXXX
                  extension: 
                      objectType: {...common/common-3}UserType
                  ownerRef: oid=00000000-0000-0000-0000-000000000002(UserType)('administrator')[default]*
                  executionStatus: SUSPENDED
                  recurrence: SINGLE
                  iteration: 0
                  iterationToken: 
                  metadata: 
                      requestTimestamp: 2020-03-30T12:25:01.752+02:00
                      requestorRef: oid=00000000-0000-0000-0000-000000000002(UserType)('administrator')[default]
                      createChannel: http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user
                      createTimestamp: 2020-03-30T12:25:01.783+02:00
                      creatorRef: oid=00000000-0000-0000-0000-000000000002(UserType)('administrator')[default]
                  binding: TIGHT
                  taskIdentifier: 1585563901787-0-1
          Execution result:
            *op* com.evolveum.midpoint.model.impl.lens.ChangeExecutor.executeDelta, st: SUCCESS, msg: null
              *op* com.evolveum.midpoint.task.api.TaskManager.addTask, st: SUCCESS, msg: null
                *op* com.evolveum.midpoint.task.api.TaskManager.createTaskInstance, st: SUCCESS, MINOR, msg: null
                    [p]taskPrism=task:null(XXXXXXXXXXXX)
                  *op* com.evolveum.midpoint.repo.api.RepositoryService.getObject, st: SUCCESS, MINOR, msg: null
                      [p]oid=00000000-0000-0000-0000-000000000002
                      [p]type=com.evolveum.midpoint.xml.ns._public.common.common_3.UserType
                *op* com.evolveum.midpoint.task.quartzimpl.TaskManagerQuartzImpl.addTaskToRepositoryAndQuartz, st: SUCCESS, msg: null
                    [p]task=Task(id:1585563901787-0-1, name:XXXXXXXXXXXX, oid:null)
                  *op* com.evolveum.midpoint.repo.api.RepositoryService.addObject, st: SUCCESS, msg: null
                      [p]options=RepoAddOptions(overwrite=false,allowUnencryptedValues=false)
                      [p]object=task:null(XXXXXXXXXXXX)
                  *op* com.evolveum.midpoint.task.quartzimpl.execution.TaskSynchronizer.synchronizeTask, st: SUCCESS, msg: 
                      [p]task=Task(id:1585563901787-0-1, name:XXXXXXXXXXXX, oid:1d171679-3456-4e82-8f3c-1b88861e4403)
      
          Object name:
            PolyString(XXXXXXXXXXXX,xxxxxxxxxxxx)
          audited: false
      

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: